I want to monitor the CPU and Memory usage for long hours and find the average of that on a Linux server. Can anybody help me to monitor it using a script. I want to know the readings for around 15-20hrs.


1 Answer 1


I'd use the sysstat package for that, it has, among others, the sar and mpstat commands that could be useful four your usecase...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .