Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running some load tests on a application hosted on one of my server and I wanted to track the processor and memory usage over a period of time e.g. 30 minutes.

I've read that I can do this with sar.

The following command gives me the processor and memory usage at 5 second intervals, 72 times which brings it about 30 minutes:

sar -r -u 5 72

If I've understood correctly, sar can log delimited data to a file so that I can import it into Excel and plot some graphs.

How can I do this? I'm interested in two simple values — the processor usage and the memory usage. This would provide enough information for my tests.

I've never dealt with anything like this before and am quite lost. Would anyone of you be able to guide me? Thanks

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.