HostOnNet Blog

sar

Looking for Linux Server Admin or WordPress Expert? We can help.

sar is a tool to collect, report and store system activity information, a very useful tool to debug server performance related problems.

To install sar on CentOS/RHEL, run

yum install sysstat

To view memory stats, run

sar -r

To view IO stats (disk usage), run

sar -d

For CPU stats, run

sar -P ALL

Load average

sar -q

IO Activity

sar -b

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.