Saturday, February 10, 2007

Monitor Processor Statistics

There are times when our headless servers are running sluggish and we have to make a determination as to what is causing it. One of our commonly used tools is the mpstat command. It provides per processor statistics in a table form.

Here’s an example of its use.

No arguments show 1 iteration of per processor statistics
#mpstat

This example updates per processor statistics every 3 seconds
#mpstat 3

No comments: