3

I'm looking for some interfaces to monitor the use of the CPU and the temperature, i have already installed lm-sensors for temp and htop for CPU but i want something that shows them always in real-time in the bar at the top of the screen (the one which says time, battery% ecc.. sorry i don't know how it is called) so that i shouldn't always run the mentioned command from the terminal. I have Ubuntu 16.04.

  • 1
    Conky might be of interest, but it displays the information on the desktop, not on the top tool bar. Guide for installing on Ubuntu 16.04: linuxandubuntu.com/home/… – Vassilis Papanikolaou Jan 23 '18 at 8:49
  • I'd like the mentioned infos in the top tool bar so that i could monitor my programs running on the terminal with just one of them opened and not 3, with Conky i'll have only 2 displays which would be better of 3 but still i'd prefer not having them at all, if i don't find anything for the purpose i'll give it a try @VassilisPapanikolaou – Zeno Raiser Jan 23 '18 at 9:20
5

The software is called psensor.

There is an option to display the info on the toolbar, as well as in a stand-alone window.

| improve this answer | |
2

This is a quick-and-dirty way I use to monitor my system core temperatures.

  • install lm-sensors (if available in repository and can read CPU / GPU temps on respective hardware.
  • install watch

watch repeatedly executes the following command until exited. By default, it refreshes every 2 seconds, but this can be changed using "-n " switch.

In a console window or on cli, execute

  • watch sensors shows temps, refreshes every 2 seconds
  • watch -n 5 sensors shows temps, refreshes every 5 seconds

My output shows:

Every 5.0s: sensors              HOST-NAME: Wed Apr 15 08:13:57 2020

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +44.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:        +44.0°C  (high = +105.0°C, crit = +105.0°C)
| improve this answer | |
1

With psensor and real time measurement you need to be careful. I tried the program and I could hear by the fan of my laptop that the system-load created by psensor heated up the CPU non-negligibly. Somehow it prevented the CPU from idling. Now, with psensor de-installed the fan is less active. As the program only measures the temperatures and does not control the fan, at the same noise level the system should be cooler without psensor.

| improve this answer | |
  • Are there any real time measurement tools which also control the fan? – Zeno Raiser Jan 26 '18 at 9:45
  • I know there is speedfan, but it runs on windows. I have never tested it with wine. – KarlG Jan 26 '18 at 10:26
0

There are ultilitys in lm_sensors, its all a bit non-intuitive,, fancontrol 1st, then pwmconfig

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.