Mac Console Commands

I was wondering about getting information about OS X system and Mac itself from command line. For example, widgets have such things as CPU temperature, current network traffic, etc. It would be cool to get such information using terminal, for example commands like top or uptime. It shouldn’t be sophisticated to my mind, but I haven’t found (figured out) yet.

2 komentāri par “Mac Console Commands”

  1. renarl:

    You can get CPU temperature and much more from ioreg, but it’s kinda hidden. I saw a bash script on macosxhints.com that displays all the readouts from hardware sensors, but the readouts I got on may iMac G5 are questionable to say the least.

    0.00857 CPU T-Diode temp
    0.00184 CPU Current Amps
    0.01245 CPU Voltage volts
    46.5 Hard drive Celsius

    Anyway here’s the to the article.

  2. krampo:

    My iBook G4 shows quite believable results, I guess it depends on your Mac’s version (generation?)

    iBook G4 PowerBook6,7 PowerPC G4 (1.5) ppc7450

    26.5 C PWR/MEMORY BOTTOMSIDE
    26.25 C CPU BOTTOMSIDE
    28.75 C GPU BOTTOMSIDE
    23.5 C BATTERY
    0.987732 CPU CORE voltage
    0 REAR MAIN ENCLOSURE fanspeed

Leave a Reply