Linux Commands

Install SAR (sysstat) on CentOS

Install SAR
Install SAR

Install SAR (sysstat) on CentOS

This post helps you to install SAR (sysstat) on CentOS server. Sysstat is a popular monitoring tool to collect all performance and activity data.

Sysstat is included in CentOS basic repositories. Hence the installation is simple and straight forward.

yum install sysstat

The “sysstat” package available with default repository is little old and outdated version. If you wish to install latest stable sysstat version, you can compile it from the source package.

Please check here for the latest stable version of the sysstat package.

Install “Development tools” before the sysstat installation.

yum groupinstall "Development tools"
cd /usr/local/src/
wget http://pagesperso-orange.fr/sebastien.godard/sysstat-11.5.7.tar.gz
tar -xvf sysstat-11.5.7.tar.gz
cd sysstat-11.5.7
./configure --prefix=/usr
make
make install

Once it is installed, verify using the following commands:

sar -V
mpstat -V

The sysstat package contains various utilities, common to many commercial Unixes, to monitor system performance and usage activity:

iostat      reports CPU statistics and input/output statistics for devices, partitions and network filesystems.
mpstat    reports individual or combined processor related statistics.
pidstat    reports statistics for Linux tasks (processes) : I/O, CPU, memory, etc.
tapestat  reports statistics for tape drives connected to the system.
cifsiostat reports CIFS statistics.
sysstat    just a manual page for sysstat configuration file, giving the meaning of environment variables used by sysstat commands.

That’s it!

Also Read: Install VnStat Network Monitoring on CentOS 7

If you like this post and wish to receive more articles from us, please like our FB page: Button

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com