11 May 2013

Monitor you CPU and HardDisk Temperature from Terminal in Ubuntu/Linux Mint

33 comments

How to check harddisk temperature in ubuntuToday's trick is about how to monitor your CPU and HardDisk Temperature from Command Line in Ubuntu/Linux Mint. hddtemp and acpi are the two utilities which are used to check HardDisk and CPU Temperature respectively.
Both hddtemp and acpi are small application and already present in Ubuntu repository, you need to install them before use. Lets see the installation and usage of hddtemp and acpi one by one.

About hddtemp

hddtemp utility let you know the temperature of your hard drive by reading Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) information on drives that support this feature. Only modern hard drives have a temperature sensor. hddtemp supports reading S.M.A.R.T. information from SCSI drives too. hddtemp can work as simple command line tool or as a daemon.

How to install hddtemp

To install hddtemp in Ubuntu/Linux Mint, open terminal (Ctrl + Alt + t) and run the following command

$ sudo apt-get install hddtemp

How do I check disk temperature?

To see temperature of /dev/sda, run the following command

$ sudo hddtemp /dev/sda
/dev/sda: SAMSUNG HM321HI: 41°C

Note: If your harddisk temperature is more than 60°C, then consider some cooling options immediately.

About acpi

acpi is a tool or utility which is mostly used to check the battery status (check out the TUTORIAL on acpi), but you can used it to monitor CPU temperature if you want.

How to install acpi

To install acpi in Ubuntu/Linux Mint, open terminal (Ctrl + Alt + t) and run the following command

$ sudo apt-get install acpi

How do I check CPU temperature?

To see CPU temperature, run the following command

$ acpi -V
Battery 0: Full, 100%
Battery 0: design capacity 3785 mAh, last full capacity 3202 mAh = 84%
Adapter 0: on-line
Thermal 0: ok, 70.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 110.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 86.0 degrees C
Cooling 0: LCD 15 of 15
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10

chack CPU temperature from terminal in Ubuntu/Linux Mint

That's it.
Hope you Enjoyed the post :).


If You Liked This Post Please Take a Time To Share This Post

You May Also Like...

33 comments:

  1. What about using lm-sensors? Install it, do a sudo sensors-detect and use indicator-sensors or a conky script or just sensors in your terminal

    ReplyDelete
  2. I didn't know about lm-sensors,Thanks for upgrading my knowledge. As far as lm-sensors is concerned, I will definitely try it.

    ReplyDelete
  3. do you know that acpi does not allow ubuntu OSs to boot and other problems?????
    Just read a little bit more before making these mistakes.

    ReplyDelete
  4. To get lm-sensors to do anything after installing it, you have to do

    Code:

    sudo sensors-detect

    You'll get a message to restart some services. Just follow the instructions.

    and answer yes to everything.

    Then you can run

    Code:

    sensors

    A very easy to configure graphical interface to monitor sensors is gkrellm. There are others. I use conky, which is highly configurable but probably pretty intimidating to begin with.

    For HDD temps

    Code:

    sudo apt-get install hddtemp

    Then,

    Code:

    sudo dpkg-reconfigure hddtemp

    Answer yes to everything, or press enter when a value is already present.

    Then you can configure gkrellm to display hddtemps.

    ReplyDelete
    Replies
    1. "sudo dpkg-reconfigure hddtemp"

      THANKS! That was the info I was missing.

      Delete
  5. Thanks for the great offers and deals. Also check Flipkart Big App Shopping Days to get great discounts from here too.

    ReplyDelete
  6. hddtemp and acpi are the utilities which are used to monitor your HardDisk and CPU temperature respectively from terminal in Ubuntu/Linux ... tempmonitor.blogspot.com

    ReplyDelete
  7. How to install hddtemp

    To install hddtemp in Ubuntu/Linux Mint, open terminal (Ctrl + Alt + t) and run the following command

    $ suo apt-get install hddtemp
    How do I check disk temperature?

    To see temperature of /dev/sda, run the following command

    $ sudo hddtemp /dev/sda
    /dev/sda: SAMSUNG HM321HI: 41°C
    Note: If your harddisk temperature is more than 60°C, then consider some cooling options immediately.

    ReplyDelete
  8. how to monitor your CPU and HardDisk Temperature from Command Line in Ubuntu/Linux Mint. hddtemp and acpi are the two utilities which are used to check HardDisk and CPU Temperature respectively.
    Both hddtemp and acpi are small application and already present in Ubuntu repository, you need to install them before use. Lets see the installation and usage of hddtemp and acpi one by one

    ReplyDelete






  9. cpu monitor

    CPU Monitor is a lightweight Java app that uses Secure Shell (ssh) to scrape

    information from a server and chart its configuration and current load. It

    communicates directly with the server and as a result doesn’t require an agent to

    be running on the target. It currently supports Linux, Solaris and Mac OS servers

    with more OS’s coming shortly.
    CPU monitor is designed to be easy to configure and install and is sufficiently

    lightweight not to place an unacceptable burden on the server. It uses a simple

    XML file to specify the servers to monitor and is ideal for monitoring clustered

    configurations.

    It also allows the recording of the load to a file for further analysis

    The following features will be added shortly

    Support for AIX and HP-UX
    A Character mode
    A Table Mode
    Network Monitoring
    Further statistics collection
    Source code for information scraping. Allowing improvements on current

    statistic collection or support for new OS's

    more info

    http://egyvedio2015.blogspot.com/
    https://www.youtube.com/watch?v=iCYZPcaPWls

    ReplyDelete
  10. I didn't know about lm-sensors,Thanks for upgrading my knowledge. As far as lm-sensors is concerned, I will definitely try it. Also visit Airtel Free Internet

    Tricks
    Also check freecharge coupon code

    ReplyDelete
    Replies
    1. Thanks for this nice update, it was useful to me. I really got what am looking for on this page. Thanks once again for this wonderful update

      Delete
  11. great free recharge blog www.rechargevalley.in

    ReplyDelete
  12. Thanks for sharing it with cpu and handling it.. I do follow in those sites Sting Tut Happy Birthday Techky Universe

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. there is any option to measure the temperature in Windows.

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. is there any why to check sdd temp in windows 10

    ReplyDelete
  17. hey,nice work buddy you did well…
    this article is very useful for me i always connect to you stay bless.....
    wish your sucess………


    http://www.crazyjar.com

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Thanks for the nice update, It really helped me a lot..Once again thanks for the wonderful update you have

    ReplyDelete
  20. Free Music Download Mp3 juices is among the top ten leading and most popular mp3 music website in the world, which includes downloading of mp3 music for free.
    https://www.makeoverarena.com/mp3goo-mp3goo-com-free-music-download/

    ReplyDelete
  21. Fabulous YAr keep up goo work brother:)))

    ReplyDelete
  22. Best smartphone under 6000 rupees in india list : https://techtopick.com/best-mobile-phone-under-6000/

    ReplyDelete
  23. Any Solution for F1 error when i start my pc?

    ReplyDelete