clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Sep. 13 2005,11:09 |
|
the /proc directory contains lots of neat information about your system. The files are always dated as now, and they look like they have no size, but can you view them just like text with cat:
cat /proc/acpi/thermal/0/status
might work (my computer doesn't have a acpi directory, but I don't know if that's because mine doesn't have a thermometer). Programs that check the temperature look at a proc file to get that info. You can make something to parse out what you need easily.
Others that are neat to look at are /proc/uptime and /proc/meminfo.
|