Monday, August 27, 2007

System Activity Reporter Command Monitors CPU, Disk and Virtual Memory

The system activity reporter or sar command is useful in reporting system resource utilization. It can report on CPU, disk, and virtual memory use. Here are some examples.

Three samples for every 5 seconds

For CPU utilization
# sar 5 3

For disk utilization
# sar -d 5 3

For virtual memory utilization
#sar -g 5 3


lordmac said...

Thanks, very nice and useful tool. Try also "sag" for graphical presentation of data gathered by sar.

esofthub said...

thanks for the tip lordmac

SysAdmin said...

I use it with isag :)