Monitoring Memory Usage on UNIX

Currently reading:
Monitoring Memory Usage on UNIX

Joined
Apr 7, 2011
Messages
3,555
Points
716
Location
Rotherham
Hi All,

My server keeps 'falling to sleep' i.e. an event log file becomes old meaning no new events are being processed.

I have made a script that outputs the age of the file every X seconds to see if it has 'fallen to sleep' again.

What i want to do is monitor memory usage also, to see if that ties in with the times which the server stops responding.

I know 'top' shows current usage, but is there a way to write that to a file?

Thanks in advance anyone! I know this is different to normal computing questions but worth a try.
 
Back
Top