How Do I Install sar?
Type the following command:
# yum install sysstat -y
Configuration Files
Edit /etc/sysconfig/sysstat file specify how long to keep log files in days, maximum is a month:
# vi /etc/sysconfig/sysstat
Sample outputs:
# keep log for 28 days
# the default is 7
HISTORY=28
# chkconfig sysstat on
# service sysstat start
$ wget http://ksar.atomique.net/kSar/kSar-5.0.6.zip
or Download
http://ksar.atomique.net/kSar/kSar-5.0.6.zip
$ unzip kSar-5.0.6.zip
$ cd kSar-5.0.6/
$ sh run.sh
How Do I Generate sar Graphs Using kSar?
First, you need to grab sar command statistics. Type the following command to get stats, enter (type it on your server):
[server1 ]# LC_ALL=C sar -A > /tmp/hostname-sar.data.txt
Red Hat, Fedora, Gnome, KDE, MySQL, PostgreSQL, PostGIS, Slony, Zarafa, Scalix, SugarCRM, vtiger, CITADEL,OpenOffice, LibreOffice,Wine, Apache, hadoop, Nginx Drupla, Joomla, Jboss, Wordpress, WebGUI, Tomcat, TiKi WiKi, Wikimedia, SpamAssassin, ClamAV, OpenLDAP, OTRS, RT, Samba, Cyrus, Dovecot, Exim, Postfix, sendmail, Amanda, Bacula, DRBD, Heartbeat, Keepalived, Nagios, Zabbix, Zenoss,