Enabling sar Stats on Debian

Many CentOS and RHEL Linux administrators have come to rely on the sar tool as an easy way to see historical load, io, and memory statistics.  On Debian, sar functionality isn’t available by default but is easy to install.

apt-get install sysstat
dpkg-reconfigure sysstat

(select yes to activate sysstat’s cronjob)

After several minutes, you’ll have access to:

  • Check historical load averages: sar -q
  • Check historical memory utilization: sar -r
  • Check historical disk utilization: sar -u

As a side note, the sysstat package we installed also includes additional helpful utilities such as: iostat, mpstat, and pidstat.

3 thoughts on “Enabling sar Stats on Debian”

  1. Hi, I’m very interested in Linux but Im a Super Newbie and I’m having trouble deciding on the right distribution for me (Havent you heard this a million times?) anyway here is my problem, I need a distribution that can switch between reading and writing in English and Japanese (Japanese Language Support) with out restarting the operating system.

    1. Hi Monica!

      Sorry for the delay in my response; it seems that my email notification for this blog isn’t working properly – something that I’m addressing as we speak.

      That’s a great question. My gut is to say “try Ubuntu” as it is one of the most elegant Linux Distros for the desktop (in my opinion.) You should be able to switch languages at the login prompt but will most likely have to log out and back in to accomplish this each time.

      Let me know what you find out!


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>