20 Useful Commands of ‘Sysstat’ Utilities (mpstat, pidstat, iostat and sar) for Linux Performance Monitoring

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Kuldeep Sharma

Currently, Working in Middleware(Jboss/Apache Tomcat) And POSIX related technologies. Having more than 5 years of experience and love to do R&D on different open source tools/technologies.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

7 Responses

  1. Sumit Kumar says:

    Great tutorial. You could also analyze sar report to get charts and aggregated data. For that we can follow https://github.com/sumitbiswasgit/sarbox

  2. Mark says:

    I hesitate to comment on an old post but I did notice that on 20. Using ‘sadf’ the example for some reasons shows the cmd as ‘safd’ so initially I thought I didn’t have the package available. Otherwise very useful post.

  3. Sayyad says:

    Hi Kuldeep,

    Thanks for the good info on SAR..,Not sure if this is a right platform to talk about problem with Sar version 8.1.5.
    One of the issues with sar is that the “sar -A” command gives the datestamp exactly past one month in the first line of the output..
    Any suggestion/help would be much appreciated..


  4. Kuldeep says:

    Thank you :) !!
    You have to change “HISTORY” parameter to 30 days.

    File need to modify:



  5. guru says:

    Hi Kuldeep,

    Good Article.

    I want sar to keep the record of last 30 days, how to do that?

Leave a Reply to Sayyad Cancel 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.