Came across this link for capturing Top output in text file
http://magazine.redhat.com/2008/04/16/tips-and-tricks-how-do-i-capture-the-output-of-top-to-a-file/
I found following command to be very useful.
top -b -n5 -d5
It captures top output 5 times and wait 5 seconds between each output.
Recent Comments