Script to Display Temperature from Command Line (download provided)

Comments

2 comments

  • Avatar
    Andy brown

    Ive been using this script since you posted it.

     

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Brad Knight

    I've found this to be better solution.

    Refresh the loading/welcome page.

    sudo run-parts /etc/update-motd.d/


    Hardware information:  sensors

    pi@Firewalla:~ (Firewalla) $ sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Package id 0:  +70.0 C  (high = +105.0 C, crit = +105.0 C)
    Core 0:        +69.0 C  (high = +105.0 C, crit = +105.0 C)
    Core 1:        +69.0 C  (high = +105.0 C, crit = +105.0 C)
    Core 2:        +69.0 C  (high = +105.0 C, crit = +105.0 C)
    Core 3:        +69.0 C  (high = +105.0 C, crit = +105.0 C)

    eth3-pci-0400
    Adapter: PCI adapter
    PHY Temperature:  +72.0 C
    MAC Temperature:  +72.0 C

    acpitz-acpi-0  (Contacted support over this reading and they said to ignore it as temp1 is not a real signal.)
    Adapter: ACPI interface
    temp1:       +100.0 C  (crit = +110.0 C)

    nct5585-isa-0a20
    Adapter: ISA adapter
    Vcore:             688.00 mV (min =  +0.00 V, max =  +1.74 V)
    +5V:                 5.08 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    3.3V:                3.31 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    +12V:               11.90 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    VCCIN_AUX:           1.80 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
    System Fan1 Speed:  319 RPM  (min =    0 RPM)
    CPU Temp:           +56.0 C  (high = +80.0 C, hyst = +75.0 C)  sensor = thermistor
    System Temp:        +58.0 C  (high = +80.0 C, hyst = +75.0 C)  sensor = thermistor

    eth0-pci-0300
    Adapter: PCI adapter
    PHY Temperature:  +73.0 C
    MAC Temperature:  +73.0 C



    0
    Comment actions Permalink

Please sign in to leave a comment.