On Tuesday 31 October 2006 23:22, Don Gould wrote:
> I'm reading the man but not sure if I can cron a top >> logfile.
No you can't. Top is specifically oriented to a display on the terminal.

> My cc server keeps going mad leaving me no choice than a reboot.

> (ext2 fs, crap!).
I wouldn't put it quite so emphatically, but basically I do agree.

Have you booted the machine off a Live CD or a boot floppy and done a fsck?

> I want to set some monitoring in place to see what was causing the load
> before the crash.

> What's the best way to do this?

I'd use uptime to monitor the load and to trigger a sequence of ps >> logfile 
calls as frequently as needed when the load exceeds the trigger point. 

--
CS

Reply via email to