Posting tip after long. hmmm !!
Lets take a glance at “atop” command. Its a beautiful and more versatile command that gives you what “top” used to give you and more.
As per atop manual pages -
But the BEST part is what I like is “atop” shows you the critical resource in “color” (red) when it is reaching its max.
The default CRITICAL values are:
Processor – 90% or higher.
Disk – 70% or higher.
Network – 90% or higher.
Memory – 90% is considered ‘critical’.
Swap – 80% is considered ‘critical’.
These default values can be modified in the configuration file. You are really encouraged to read the man pages of atop to configure it, tune it and even redirect the output to a file for latter processing, like in sar or iostat.
Then you are free to use utilities like GNUPLOT to plot it in a graphical manner. You can also use OPEN-OFFICE for that job.
Here is the atop from my machine.