View Single Post
  #5   (View Single Post)  
Old 21st October 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Quote:
Originally Posted by edhunter View Post
If the cpu is intel core or newer you may try coretemp.
Code:
kldload coretemp
and watch sysctl values dev.cpu.%d.temperature
%d is core number - 0,1,2...
I loaded this and still got nothing out of sysctl. Keep in mind that im very green with freebsd so I am sure that I dont have something set right as of yet. If I do a #sysctl -a |grep cpu I get nothing for temperature or cpu speed.

Quote:
Originally Posted by sverreh View Post
A list of conky-variables can be found here:

http://conky.sourceforge.net/variables.html

In my .conkyrc I have:

Code:
${color}CPU-temp
${color #ddaa00} ${acpitemp}
Does this help?
Thanks. I found this page. My .conkyrc is set correctly to display the cpu temperature and frequency but it checks sysctl for temp and sysctl returns nothing.

Quote:
Originally Posted by TerryP View Post
Well, at least on my laptop... $ sysctl hw.acpi.thermal. will yield sysctl based data on my systems tempature, according to the hw.acpi.thermal.tz0.temperature sysctl is probably what you want, but refer to acpi_thermal(4) for details on them. The childern of dev.cpu.N will probably tell you what you want about the CPU, replace 'N' with the CPUs number, if you have one single core CPU, this is dev.cpu.0. You should be able to find the current (approximate, not exact) clock frequency of your cpu in Mhz through dev.cpu.N.freq, but refer to [fman=4]cpufreq[/url] for details.


$ sysctl hw.acpi.thermal. dev.cpu. | $PAGER will probably tell you plenty.
When I run
$ sysctl hw.acpi.thermal. dev.cpu. | $PAGER
it returns an error.
Code:
# sysctl hw.acpi.thermal. dev.cpu. | $PAGER
sysctl: unknown oid 'hw.acpi.thermal.'
I think that I still need to set up sysctl to monitor "driver" ? the cpu temp.
Reply With Quote