View Full Version : Linux CLI + Monitoring Application

20-09-2005, 08:52 PM
Calling all linuxians!

I have a development server set up running Slackware 10, no X just CLI.

I've found the PC quiet noisey, so I modded the PSU and case fans. Now I have a switch that changes them from 5v to 12v. I was going to stick them on 7v full time, but I didn't notice muchg difference between 5v and 7v.

Anyway, what I'm after is an application that can monitor the case/cpu/system temperatures much like MBM (Motherboard Monitor) does in windows.

The only thing is, it needs to be able to run without X.

Anyone have any ideas?

20-09-2005, 08:56 PM
lm_sensors and sensors

[jennifer@myth ~]$ sensors
Adapter: SMBus I801 adapter at e800
VCore 1: +1.57 V (min = +1.46 V, max = +1.60 V) ALARM
+3.3V: +3.28 V (min = +3.14 V, max = +3.47 V)
+5V: +5.08 V (min = +4.76 V, max = +5.24 V)
+12V: +11.55 V (min = +10.82 V, max = +13.19 V)
-12V (reserved):
-12.01 V (min = -0.00 V, max = -0.00 V)
-5V (reserved):
-5.04 V (min = -0.00 V, max = -0.00 V)
CPU Fan: 2311 RPM (min = 1997 RPM, div = 4)
Chassis Fan:
0 RPM (min = 3994 RPM, div = 2)
Power Fan: 0 RPM (min = 3994 RPM, div = 2)
M/B Temp: +25C (high = +45C, hyst = +40C)
CPU Temp (Intel):
+37C (high = +60C, hyst = +50C)
Power Temp:
-0C (high = +45C, hyst = +40C)
CPU Temp (AMD):
+25C (high = +60C, hyst = +50C)
vid: +1.525 V (VRM Version 9.0)

Adapter: saa7134[0]
Unknown EEPROM type (56)

Adapter: SMBus I801 adapter at e800
Memory type: DDR SDRAM DIMM
Memory size (MB): 512

Adapter: SMBus I801 adapter at e800
Memory type: DDR SDRAM DIMM
Memory size (MB): 512

Philips PAL_BG -i2c-1-61
Adapter: saa7134[0]

[jennifer@myth ~]$

20-09-2005, 09:46 PM
I must've done something wrong..

chris@tux$ sensors sensors
No sensors found!

20-09-2005, 10:51 PM
You will need to install and configure lm_sensors first. You can find the relevent information on doing this here - Lm_sensors (http://secure.netroedge.com/~lm78/). Have a look at the documentation section. You should be able to find a recent packaged file for your distro if you google around if you don't wish to compile it from source. :)

20-09-2005, 10:58 PM
You only need to run sensors

blah@blah ~ # sensorsI get something similar to Jens when I run the above command (sensors)

21-09-2005, 12:58 AM
Ever thought of the likes of VNC?

21-09-2005, 10:08 AM
I don't think VNC would work as I don't have a GUI running nor installed on the machine.

I've built/I'm building a web-based interface-type-thing where I can monitor things like user quotas, traffic, etc.

But after the recent issues I've had with heat, it would be nice to have the temperatures there too.

I was also considering a cron job that'd check the temps every so-many minutes and play the mario tune with BEEP, email me or shutdown if it got too hot.

But I need to work on those sensors first.. Hopefully I can find the time to do it today.

21-09-2005, 10:28 AM
IIRC, Webmin can do certain monitoring things, it may be of help :)