Tuesday 22 March 2016

How to install sar, sadf, mpstat, iostat, pidstat and sa tools on CentOS / RHEL



Install sar, sadf, mpstat, iostat, pidstat and sa tools on CentOS  / RHEL

The following command can be used to install sar, sadf, mpstat, iostat, pidstat and sa tool:

Type the following command from root privilege users:

[root@linuxcnf ~]#yum install sysstat

These are essential utilities to find out about IO load on system and ways to combat it.

[root@linuxcnf ~]# mpstat 2
Linux 3.10.0-229.el7.x86_64 (localhost.linuxcnf)     03/19/2016      _x86_64_
12:21:45 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %
12:21:47 AM  all    0.00    0.00    0.50    0.00    0.00    0.00    0.00    0.00
12:21:49 AM  all    0.50    0.00    1.50    0.00    0.00    0.50    0.00    0.00
12:21:51 AM  all    0.00    0.00    0.50    0.00    0.00    0.00    0.00    0.00
12:21:53 AM  all    0.00    0.00    0.50    0.00    0.00    0.00    0.00    0.00
12:21:55 AM  all    0.00    0.00    1.01    0.00    0.00    0.00    0.00    0.00
12:21:57 AM  all    0.00    0.00    0.50    0.00    0.00    0.00    0.00    0.00
12:21:59 AM  all    0.00    0.00    0.51    0.00    0.00    0.00    0.00    0.00
12:22:01 AM  all    0.53    0.00    6.88   17.46    0.00    0.00    0.00    0.00
12:22:03 AM  all    1.05    0.00    4.71   11.52    0.00    0.00    0.00    0.00
12:22:05 AM  all    0.51    0.00    0.51    0.00    0.00    0.00    0.00    0.00
12:22:07 AM  all    0.00    0.00    0.51    2.02    0.00    0.00    0.00    0.00
12:22:09 AM  all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00

No comments:

Post a Comment