Temperature from terminal shell

Posted:
in macOS edited January 2014
Is there a way to get the processor and ambient temperatures of an XServe G4 via a shell prompt? Running Jaguar.



I would like to use Server Settings remotely (over the internet) but whenever I try to connect to the server it sometimes connects briefly but then always the entry in the "Choose a server to monitor" table vanishes and no values are shown.



We've been having problems with the server running hot so would like to ssh in (no problem) and then view the temperature and perhaps other current details (don't know how).



Thanks for any help with either of the above.

John

Comments

  • Reply 1 of 5
    placeboplacebo Posts: 5,767member
    Probably not by default, but I bet that there's one out there that you can install via Finkcommander (or by the shell)
  • Reply 2 of 5
    I have found a way.

    hwmond is a daemon process that runs to monitor this kind of thing.

    If you just run hwmond for a few seconds (as root), then kill it, the temperatures and other values are written to /var/log/hwmond.log
  • Reply 3 of 5
    boemaneboemane Posts: 311member
    Quote:

    Originally posted by johnnypoll

    I have found a way.

    hwmond is a daemon process that runs to monitor this kind of thing.

    If you just run hwmond for a few seconds (as root), then kill it, the temperatures and other values are written to /var/log/hwmond.log




    or you can let it run and type



    tail -f /var/log/hwmond.log



    to constantly type out the lates log information...



    .:BoeManE:.
  • Reply 4 of 5
    fulmerfulmer Posts: 171member
    where do you find hwmond ?

    I did a search in the terminal for it, but couldn't find it



    locate hwmond



    shows nothing...
  • Reply 5 of 5
    eugeneeugene Posts: 8,254member
    Server only feature?
Sign In or Register to comment.