EVGA

Helpful Replytemp monitor for linus

Author
wrinvert
R.I.P Friend
  • Total Posts : 3396
  • Reward points : 0
  • Joined: 2007/05/01 19:32:12
  • Location: lost forever
  • Status: offline
  • Ribbons : 17
2013/04/30 19:49:34 (permalink)
thewolf gave me one to try and maybe I I don't have it set up right but its there a temp monitor for these h8qme boards that shows all cores or atleast all chips? something that is a simple list nothing fancy.
 
a step by step would be helpful, still learning Linux.
post edited by wrinvert - 2013/04/30 19:51:02


 
#1
_IanJ
iCX Member
  • Total Posts : 383
  • Reward points : 0
  • Joined: 2011/04/30 14:22:41
  • Status: offline
  • Ribbons : 0
Re:temp monitor for linus 2013/04/30 20:10:19 (permalink) ☄ Helpful
Install "Sensors"
 
sudo su

apt-get install lm-sensors

sensors-detect

 
Then run "sensors" in terminal to see all the current temps.
post edited by EVGATech_IanJ - 2013/04/30 20:11:37

 
 
 
 
 
Contact us by phone at 1-888-881-3842 or email at support@evga.com. We are available 24/7 to assist you.       
 
   
 
 

 
 
#2
wrinvert
R.I.P Friend
  • Total Posts : 3396
  • Reward points : 0
  • Joined: 2007/05/01 19:32:12
  • Location: lost forever
  • Status: offline
  • Ribbons : 17
Re:temp monitor for linus 2013/04/30 20:51:10 (permalink)
thanks that worked
 


 
#3
wrinvert
R.I.P Friend
  • Total Posts : 3396
  • Reward points : 0
  • Joined: 2007/05/01 19:32:12
  • Location: lost forever
  • Status: offline
  • Ribbons : 17
Re:temp monitor for linus 2013/04/30 20:52:42 (permalink)
okay now how do I edit show it doesn't show all the ones I don't need?


 
#4
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 12:19:54 (permalink)
Try piping the command to 'grep thermal':
 
sysop@H8QME:~$ sensors | grep thermal
CPU1 Temp:    +40.8°C  (high = +72.0°C, hyst = +67.0°C)  sensor = thermal diode
CPU2 Temp:    +42.8°C  (high = +72.0°C, hyst = +67.0°C)  sensor = thermal diode
CPU3 Temp:    +39.0°C  (high = +72.0°C, hyst = +67.0°C)  sensor = thermal diode
CPU4 Temp:    +44.0°C  (high = +72.0°C, hyst = +67.0°C)  sensor = thermal diode
 
Just type in the "sensors | grep thermal" part without the quotes, the rest before that is my bash shell prompt.
 
The grep command only shows lines that match the pattern argument, in this case only lines containing the word 'thermal' will be output. It is case sensitive unless you give it the -i switch, in which case 'sensors | grep -i Thermal' would also match those lines. If the pattern to grep contains white space such as "thermal diode" then you need to enclose them in quotes such as: sensors | grep "thermal diode"
 
Next to 'ls', grep in its various forms is by far the unix/linux command I use the most on a day to day basis.
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#5
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 13:11:48 (permalink)
Great post guys!
This is something I had done way back and had forgotten about.
Since I'm still pretty new to Linux its easy to forget or remember everything.
I say new but I used Linux many moons ago but only for a short while when bigadv came out and you could still work them on some standard desktop rigs.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#6
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 13:51:02 (permalink)
I actually wrote a quick and dirty perl script to provide more of a "Just the facts, ma'am" style of output.
 
8439 /home/sysop $ temp
Wed May  1 16:40:37 2013:
CPU 1: 37.2
CPU 2: 40.8
CPU 3: 34.2
CPU 4: 40.5
8439 /home/sysop $ temp -s
Wed May  1 16:40:50 2013:
1: 37.2  2: 40.2  3: 33.8  4: 41.0
 
8439 /home/sysop $ cat `which temp`
#!/usr/bin/perl
$|++;
$simple = 1 if $ARGV[0] eq '-s';
printf "%s:\n",scalar localtime();
@lines = `sensors|grep thermal|sort`;
foreach $line (@lines)
{
  ($node,$temp) = $line =~ /CPU(\d+)\sTemp:\s+\++(\d+\.\d+)/;
  $N{$node} = $temp;
}

$j = 1;
if ($simple)
{
  for ($i=1;$i<5;$i++)
  {
    print "$i: $N{$i}  ";
  }
  print "\n";
}
else
{
  for ($i=1;$i<5;$i++)
  {
    print "CPU $j: $N{$i}\n";
    $j++;
  }
}
 
Copy the above starting with the #! shebang to /usr/local/bin/whatevernameyouwant and then chmod 755 /usr/local/bin/whatevernameyouwant then just run it.
 
Another handy little ditty is my "checkpoint" alias (I use tcsh for my shells):
 
H8QME /home/sysop # checkpoint
Now: Wed May  1 16:45:05 EDT 2013
CPT: Wed May  1 16:42:25.0496524968 2013
 
H8QME /home/sysop # which checkpoint
checkpoint:      aliased to echo "Now: `date`";echo -n "CPT: ";find ~sysop/fah/work -type f -name "*.ckp" -mmin -16 -printf "%c\n"
 
You can make a script called checkpoint by using nano/pico or your favorite editor to create /usr/local/bin/checkpoint and put this in it:
 
#!/bin/sh
echo "Now: `date`";echo -n "CPT: ";find ~sysop/fah/work -type f -name "*.ckp" -mmin -16 -printf "%c\n"
 
Save it and then chmod 755 /usr/local/bin/checkpoint then just run it.
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#7
A FURRY
iCX Member
  • Total Posts : 408
  • Reward points : 0
  • Joined: 2011/04/21 02:06:42
  • Location: ⚡ Два.ч - Фурри / Бред / Мотоциклы / Оружие
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 13:56:22 (permalink)
Ok, now let's make it into a desktop widget!
 
In the terminal:
sudo su

apt-get install conky

apt-get install gedit

exit

gedit ~/.conkyrc

 
Paste the following into the gedit text editor, and save it:
 
alignment top_right 
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=20
gap_x 20
gap_y 20
minimum_size 5 5
net_avg_samples 2
no_buffers no
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 5.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${color grey}Uptime:$color $uptime ${color grey}CPU Frequency:$color $freq ${color grey}Processes:$color $processes
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking: Up:$color ${upspeed eth0} ${color grey}- Down:$color ${downspeed eth0}
$hr
Sensors:
${color grey}${exec sensors}

 
And then run "conky" at startup.
 
The results should look like this:
 

 

Attached Image(s)


 
 
 
 
  
My Systems: i7 3770K Rig with GTX570  |  AMD FX-8350 CPU Folding Rig  |  AMD FX-8350 CPU Folding Rig  |  Dual Xeon 2.66GHz Mac Pro With GTX550Ti  |  i3 Laptop  |  Core2Duo Laptop   Atom Dual Core 1.6GHz Netbook  |  Atom Single core 1.6GHz Netbook
 
 
 
 
All running Linux. (Most running my own customization, "Longcat OS")  One HDD with Win7 on it just for games that won't run under WINE.
#8
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 14:00:19 (permalink)
Oh the CPU cycles!
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#9
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 14:19:27 (permalink)
I'm sure both work well but cp256 you have gone over my Linux knowledge with that one.
Your saying the other by Furry will use some CPU cycles correct?
Speaking of CPU cycle usage this brings a question of some 35% usage
I'm seeing when idle on a single core on the H8QGi+F.
Anyone else notice this when looking at System Monitor and idle?
Thing is under the Processes Tab there is nothing shown as using the 35%?
post edited by TheWolf - 2013/05/01 14:23:11

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#10
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 14:27:23 (permalink)
Any widget that updates itself will use some CPU cycles. Honestly, it wouldn't impact folding to any significant degree, but efficiency nuts wouldn't want to run anything that wastes any CPU time at all. I live in SSH terminal windows so I don't do any desktop window dressings.
 
See what "top" says in a terminal window. It should provide a clue as to what is using CPU time.
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#11
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 14:40:52 (permalink)
Gotta and what I was thinking.
 
I'll have a look next time I'm idle, but I'm wondering if this might be something like with my 1U server were I had to disable 1 of the lan ports to regain some CPU cycles that were being use.
 
Thanks for your help.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#12
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linux 2013/05/01 14:48:40 (permalink)
The load average at idle on both my 4p's generally sits at 0.00 (from the uptime, who or top commands) and I never saw anything using more than a trivial amount of CPU time. I haven't used the System Monitor as I do everything in SSH shell terminals. I'll try it if I can remember to next time I reboot.

Edit: typo
post edited by cp256 - 2013/05/01 15:04:52

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#13
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 14:57:01 (permalink)
Thanks, as you say it could be something to do with the GUI and using some resources.
The 35% moves around from one single core to another, usually in  the 3rd row is where it shown CPU9 threw CPU12.
 
On my Rack TY3 one of the lan ports was using 100% of a core, disabling it in bios fix that on it.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#14
_IanJ
iCX Member
  • Total Posts : 383
  • Reward points : 0
  • Joined: 2011/04/30 14:22:41
  • Status: offline
  • Ribbons : 0
Re:temp monitor for linus 2013/05/01 16:18:25 (permalink)
TheWolf
Your saying the other by Furry will use some CPU cycles correct?

 
With that config file, the desktop widget will only update once every 5 seconds. This should use minimal CPU cycles.

 
 
 
 
 
Contact us by phone at 1-888-881-3842 or email at support@evga.com. We are available 24/7 to assist you.       
 
   
 
 

 
 
#15
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 17:07:52 (permalink)
Yea I had already checked it out, but if I used it, it wouldn't be full time.
Most stuff like that I don't keep running, only for a quick look see at how things doing.
 
In top Xorg said 0 to 1% but as soon as I open System Monitor it shot to 35%, so sys mon is the root cause.
I don't use it often so it shouldn't be a problem with my folding TPF.
 
Thanks guys!

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#16
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 17:13:56 (permalink)
I just rebooted my 4p G34 to increase its overclock (250 mhz refclock, 2626 mhz, stock is 2100) and with System Monitor running, the Xorg window manager is using the equivalent of 33% to 34% of one core at idle according to top. System Monitor showed that load spread across 6 to 8 cores, jumping around a bit. I shut down System Monitor and the CPU usage dropped to 0%. I suspected that the system monitor itself was using the CPU time. That probably accounts for the CPU usage you are seeing Wolf.
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#17
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/01 17:22:37 (permalink)
Roger that! See other post above yours.
Thanks for your help.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#18
cp256
Superclocked Member
  • Total Posts : 197
  • Reward points : 0
  • Joined: 2008/01/07 18:06:51
  • Status: offline
  • Ribbons : 4
Re:temp monitor for linus 2013/05/01 17:25:35 (permalink)
Yeah I hadn't refreshed the view and hadn't gotten the thread update notice in email yet. <sigh>
 

Folding Rig #1: SM H8QGi-F - 4x6172 Opterons @2520 Mhz w/CM 212+'s - 16GB
Folding Rig #2 SM H8QME-2 - 4x8439 Opterons w/4x CM Hyper 101 + 8x 46 CFM 80MM Fans - 16GB
Folding Rig #3 "The Ankle-Biter" - SM H8QM3-2 - 4x8425 Opterons + Nidec "Screamer" 80MM Fans - 16GB
Folding Rig #4: X58 Classy3 - i7-990X @4.5 on 3x120 Juice, 12GB, 1x GTX980 K|NGP|N, 2x GTX680
#19
TheWolf
CLASSIFIED Member
  • Total Posts : 3800
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Moss Point, Ms
  • Status: offline
  • Ribbons : 9
Re:temp monitor for linus 2013/05/02 06:03:19 (permalink)
Good to know someone else came to the same conclusion. Now I can relax. NOT really...
its always someting with the computer game and folding.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#20
bowlinra
SSC Member
  • Total Posts : 883
  • Reward points : 0
  • Joined: 2011/12/05 20:58:14
  • Location: Virginia, USA
  • Status: offline
  • Ribbons : 5
Re:temp monitor for linus 2013/05/02 21:11:14 (permalink)
wrinvert
okay now how do I edit show it doesn't show all the ones I don't need?

If you have tpc installed, it just "sudo tpc -temp"
bowlinra@amd-6176:~$ sudo tpc -temp
[sudo] password for bowlinra:
TurionPowerControl 0.44-rc2 (export)
Turion Power States Optimization and Control - by blackshard
Detected processor: Family 10h Processor
Machine has 8 nodes
Processor has 6 cores
Processor has 5 p-states
Processor has 0 boost states
Processor temperature slew rate:9.0°C
Temperature table:
Node 0  C0:40   C1:40   C2:40   C3:40   C4:40   C5:40
Node 1  C0:39   C1:39   C2:39   C3:39   C4:39   C5:39
Node 2  C0:41   C1:41   C2:41   C3:41   C4:41   C5:41
Node 3  C0:41   C1:41   C2:41   C3:41   C4:41   C5:41
Node 4  C0:43   C1:43   C2:43   C3:43   C4:43   C5:43
Node 5  C0:42   C1:42   C2:42   C3:42   C4:42   C5:42
Node 6  C0:38   C1:38   C2:38   C3:38   C4:38   C5:38
Node 7  C0:38   C1:38   C2:38   C3:38   C4:38   C5:38


Node 0 & Node 1 are CPU 1 etc..

SMP: 4x AMD 61xx@3.0Ghz - 4x AMD 6176SE@2.71Ghz - 4x AMD 6172@2.41Ghz  - 2x AMD 62xx@3.3Ghz
 
My Setup:  Home Rack Garage Build  |  How to fold Big Points - AMD 4P / Quad Socket Design and Build Guide  |  Find some deals EVGA's AMD 4P Deals

"Unless someone like you cares a whole awful lot, nothing is going to get better. It's not."  Dr. Seuss, The Lorax
 
#21
Jump to:
  • Back to Mobile