Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Im using gnome system monitor and I like the graphic it shows. The thing is that I would like to record that graphic for about an hour or maybe a day so I have a complete view of how my system performs during that time.

Can someone help me on how to save that graphic information or at least the information?

Thanks in advance.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can first save your necessary information by using dstat, which can be easily installed by sudo apt-get install dstat and is easy in use. For instance, if you want to monitor CPU, load average, memory usage and network statistics you can use

dstat -cdlmn >1

and the information would be written to file 1 every second. You'll have at about 7Mb file for the day which is rather big. To change the period of time of data saving, use

dstat -cdlmn -tc N >1

where N is the period in seconds. Then you can plot the data using for example gnuplot. You can look an example of using gnuplot with output of dstat here (http://niftybits.wordpress.com/2008/03/28/gnuplot-dstat-easy-graphing-on-linux/).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.