Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How to check on pc "health" in Ubuntu


  • Please log in to reply
15 replies to this topic

#1 Ubiq

Ubiq

  • Members
  • 253 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:07:49 AM

Posted 16 August 2015 - 10:25 PM

Hello! :flowers:

If I wanted to check on things like temperature, where would I go to look that up? I had a bit of a look in System Settings, but nothing was where I thought it would be.

My laptop seems to be running much cooler under Ubuntu than windows but it has randomly started making this little buzzing noise that would stop when it was unplugged. It sounds kinda like mic feedback, but I don't have any speakers hooked up right now.

 


Machine: Toshiba Portege r705-P41, Dual Boot: MS Windows 7 Home Premium 64-bit; Ubuntu 15.04
CPU: Intel Core i5 460M @ 2.53GHz Arrandale 32nm Technology,
RAM: 4.0GB Dual-Channel DDR3 @ 532MHz (7-7-7-20), Motherboard: TOSHIBA Portable PC (rBGA1288 Socket)
Video Card: Intel HD Graphics Revision 2 1720 MBytes

Speccy


BC AdBot (Login to Remove)

 


#2 paul88ks

paul88ks

  • Members
  • 1,323 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dallas,Texas
  • Local time:06:49 AM

Posted 16 August 2015 - 10:35 PM

i downloaded this little applet that works quite well- gives you the core temps of your processor- Mate sensors applet 1.8.0 should be in your software manager!


Edited by paul88ks, 16 August 2015 - 10:38 PM.


#3 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,429 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:49 PM

Posted 16 August 2015 - 10:50 PM

With a laptop you may also want to look into TLP.

linrunner.de: TLP – Linux Advanced Power Management

 

Also look into Panel Apps for Ubuntu here.

http://www.noobslab.com/2015/07/panel-indicators-collection-for-ubuntu.html



#4 Ubiq

Ubiq
  • Topic Starter

  • Members
  • 253 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:07:49 AM

Posted 16 August 2015 - 10:58 PM

Thanks guys! I'll check those out and post back hopefully with something I've gotten to work.

So there is not a handy utility/slash command to run to see system temp? I guess each chip has its own temp parameters anyway...so complicated!


Machine: Toshiba Portege r705-P41, Dual Boot: MS Windows 7 Home Premium 64-bit; Ubuntu 15.04
CPU: Intel Core i5 460M @ 2.53GHz Arrandale 32nm Technology,
RAM: 4.0GB Dual-Channel DDR3 @ 532MHz (7-7-7-20), Motherboard: TOSHIBA Portable PC (rBGA1288 Socket)
Video Card: Intel HD Graphics Revision 2 1720 MBytes

Speccy


#5 Al1000

Al1000

  • Global Moderator
  • 7,883 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:49 PM

Posted 17 August 2015 - 02:20 AM

I use Conky to display the temperatures of my CPU cores on my desktop. I have Conky configured to start automatically after I boot the computer, and update itself every 3 seconds.

kde1_zpsheboeuyf.jpeg

puppypc1_zps9b7a00de.png



Linux Mint System Monitor versus Conky

I also have lm-sensors
 
sudo apt-get install lm-sensors
After installation, run:
 
sudo sensors-detect
Then to display temperatures and other information in terminal, run:
 
sensors
al@my_desktop_pc:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +75.0°C)

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:           +1.12 V  (min =  +1.45 V, max =  +1.75 V)
 +3.3 Voltage:           +3.20 V  (min =  +3.00 V, max =  +3.60 V)
 +5.0 Voltage:           +4.81 V  (min =  +4.50 V, max =  +5.50 V)
+12.0 Voltage:          +11.97 V  (min = +11.20 V, max = +13.20 V)
CPU FAN Speed:           743 RPM  (min =    0 RPM, max = 1800 RPM)
CHASSIS FAN Speed:         0 RPM  (min =    0 RPM, max = 1800 RPM)
CHASSIS2 FAN Speed:        0 RPM  (min =    0 RPM, max = 1800 RPM)
CHASSIS3 FAN FAN Speed:    0 RPM  (min =    0 RPM, max = 1800 RPM)
CHASSIS4 FAN FAN Speed:    0 RPM  (min =    0 RPM, max = 1800 RPM)
POWER FAN FAN Speed:       0 RPM  (min =    0 RPM, max = 1800 RPM)
CHIP FAN FAN Speed:        0 RPM  (min =    0 RPM, max = 1800 RPM)
CPU Temperature:         +33.0°C  (high = +90.0°C, crit = +125.0°C)
MB Temperature:          +37.0°C  (high = +70.0°C, crit = +125.0°C)

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +34.0°C  
Core1 Temp:   +37.0°C

Edited by Al1000, 17 August 2015 - 02:51 AM.


#6 paul88ks

paul88ks

  • Members
  • 1,323 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dallas,Texas
  • Local time:06:49 AM

Posted 17 August 2015 - 03:04 AM

I installed Conky on my Linux Mint Mate 17.1 but can't find it- or how to make it run-



#7 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,429 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:49 PM

Posted 17 August 2015 - 03:25 AM

Open terminal and type

conky


#8 Al1000

Al1000

  • Global Moderator
  • 7,883 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:49 PM

Posted 17 August 2015 - 03:29 AM

Type conky in a terminal to start it. (EDIT: Nick beat me to it)

To stop it running, type
killall conky
The default conky is a flickery black and white display. To get a better looking display, create a file in your user's home directory called .conkyrc. Conky will automatically use a .conkyrc file if it's there. Here is my .conkyrc on my desktop pc.
 
alignment top_left
background true
border_width 1
cpu_avg_samples 2
default_color green
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10
gap_x 950
gap_y 110
minimum_size 5 5
net_avg_samples 2
double_buffer yes
out_to_console no
own_window yes
own_window_argb_visual yes
own_window_argb_value 100
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 03.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${color}${scroll 16 $nodename - $sysname $kernel on $machine | }
${color white}$hr
${color}Uptime:$uptime
${color white}$hr
${color}RAM Usage:$mem/$memmax - $memperc% ${membar 7}
Swap Usage:$swap/$swapmax - $swapperc% ${swapbar 7}
${color white}$hr
${color}CPU 1: ${cpu cpu1}% ${cpubar cpu1}
CPU 2: ${cpu cpu2}% ${cpubar cpu2}
Frequency: ${freq}MHz
CPU 1 Temp: ${hwmon 1 temp 1}C    CPU 2 Temp: ${hwmon 2 temp 1}C
${color white}$hr
${color}File systems: ${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color white}$hr
${color}Networking:
Up: ${upspeed eth0}/s       Down: ${downspeed eth0}/s
${color white}$hr
${color}Processes:$processes     Running:$running_processes
${color white}$hr
${color}Name               CPU%   MEM%  USER
${top name 1} ${top cpu 1} ${top mem 1}  ${top user 1}
${top name 2} ${top cpu 2} ${top mem 2}  ${top user 2}
${top name 3} ${top cpu 3} ${top mem 3}  ${top user 3}
${top name 4} ${top cpu 4} ${top mem 4}  ${top user 4}
${top name 5} ${top cpu 5} ${top mem 5}  ${top user 5}
You could copy and paste that into your .conkyrc file, although it may require some fiddling to get it to display properly on your computer. For example if your CPU has four cores instead of two, then after these lines:
 
${color}CPU 1: ${cpu cpu1}% ${cpubar cpu1}
CPU 2: ${cpu cpu2}% ${cpubar cpu2}
add this:
 
CPU 3: ${cpu cpu3}% ${cpubar cpu3}
CPU 4: ${cpu cpu4}% ${cpubar cpu4}
And after this line:
 
CPU 1 Temp: ${hwmon 1 temp 1}C    CPU 2 Temp: ${hwmon 2 temp 1}C
add this:
 
CPU 3 Temp: ${hwmon 3 temp 1}C    CPU 4 Temp: ${hwmon 4 temp 1}C
You will find plenty of other .conkyrc files on the internet, for example here.

Edited by Al1000, 17 August 2015 - 03:32 AM.


#9 paul88ks

paul88ks

  • Members
  • 1,323 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dallas,Texas
  • Local time:06:49 AM

Posted 17 August 2015 - 03:33 AM

You read my mind AI1000- that was my next question- it will have to wait til tomorrow- I'm headed for bed! Thanks!



#10 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,429 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:49 PM

Posted 17 August 2015 - 04:03 AM

And you can go to noobslab for some cool conky themes.

http://www.noobslab.com/2012/07/conky-collection-for-ubuntulinux.html



#11 Ubiq

Ubiq
  • Topic Starter

  • Members
  • 253 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:07:49 AM

Posted 17 August 2015 - 01:12 PM

Paul88ks, I installed Mate-Sensors-Applet and Synaptic shows that its installed and updated, but I can't find it in dash to run it. I'm still learning about command line and will try again soon.

Nickau, I installed several of the ones from noobslab, and they all show up in dash and seem to work. I really want the one that shows today's Star Date, but I'm trying to restrain myself. :alien2:

AI1000, thank you for the conky suggestion and instruction. I had noticed your cool desktop in other posts. Very nice. But which package should I install again, please? It looks like Ubuntu is suggesting some packages I should try, but wasn't sure which one so I just tried 'conky' which didn't work. :blush:

 

bertie@Jeeves:~$ conky
The program 'conky' can be found in the following packages:
 * conky-all
 * conky-cli
 * conky-std
Try: sudo apt-get install <selected package>
bertie@Jeeves:~$ sudo apt-get conky
[sudo] password for bertie:
E: Invalid operation conky
bertie@Jeeves:~$
 


Machine: Toshiba Portege r705-P41, Dual Boot: MS Windows 7 Home Premium 64-bit; Ubuntu 15.04
CPU: Intel Core i5 460M @ 2.53GHz Arrandale 32nm Technology,
RAM: 4.0GB Dual-Channel DDR3 @ 532MHz (7-7-7-20), Motherboard: TOSHIBA Portable PC (rBGA1288 Socket)
Video Card: Intel HD Graphics Revision 2 1720 MBytes

Speccy


#12 mremski

mremski

  • Members
  • 497 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NH
  • Local time:07:49 AM

Posted 17 August 2015 - 01:30 PM

I'm guessing that "conky-all" will pull in the other 2 (-cli and -std) plus whatever else is needed.


FreeBSD since 3.3, only time I touch Windows is to fix my wife's computer


#13 Ubiq

Ubiq
  • Topic Starter

  • Members
  • 253 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:07:49 AM

Posted 17 August 2015 - 01:41 PM

I'm guessing that "conky-all" will pull in the other 2 (-cli and -std) plus whatever else is needed.

Heh, You're right! Conky works. Though I'm feeling shy about trying to find and alter the file AI1000 is talking about. :unsure:


Machine: Toshiba Portege r705-P41, Dual Boot: MS Windows 7 Home Premium 64-bit; Ubuntu 15.04
CPU: Intel Core i5 460M @ 2.53GHz Arrandale 32nm Technology,
RAM: 4.0GB Dual-Channel DDR3 @ 532MHz (7-7-7-20), Motherboard: TOSHIBA Portable PC (rBGA1288 Socket)
Video Card: Intel HD Graphics Revision 2 1720 MBytes

Speccy


#14 DeimosChaos

DeimosChaos

  • BC Advisor
  • 1,420 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States, Delaware
  • Local time:07:49 AM

Posted 17 August 2015 - 02:46 PM

 

I'm guessing that "conky-all" will pull in the other 2 (-cli and -std) plus whatever else is needed.

Heh, You're right! Conky works. Though I'm feeling shy about trying to find and alter the file AI1000 is talking about. :unsure:

 

You won't hurt anything if you mess with the .conkyrc file, just make sure to make a copy first!

cd /home/Ubiq/

cp .conkyrc .conky.rc.backup

That will leave a copy of the original file as .conkyrc and then will also have a backup! If you don't like how things worked in the .conkyrc file you can just do the reverse to the copy above.


Edited by DeimosChaos, 17 August 2015 - 02:46 PM.

OS - Ubuntu 14.04/16.04 & Windows 10
Custom Desktop PC / Lenovo Y580 / Sager NP8258 / Dell XPS 13 (9350)
_____________________________________________________
Bachelor of Science in Computing Security from Drexel University
Security +


#15 paul88ks

paul88ks

  • Members
  • 1,323 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dallas,Texas
  • Local time:06:49 AM

Posted 17 August 2015 - 10:20 PM

 

Paul88ks, I installed Mate-Sensors-Applet and Synaptic shows that its installed and updated, but I can't find it in dash to run it. I'm still learning about command line and will try again soon.

I don't know what to tell you there- mine just showed up in the taskbar after install - I am using Linux Mint Mate 17.1






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users