Advertisements

Installing sysstat/sar on Suse Linux Enterprise Server 11

I have a SUSE Linux Enterprise Server 11 SP3

root@linux:~ # cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
LSB_VERSION=”core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64″

Installing the rpm

root@linux:/tmp # rpm -ivh sysstat-8.1.5-7.45.24.x86_64.rpm
Preparing… ########################################### [100%]
1:sysstat ########################################### [100%]

Creates link to /etc/cron.d

root@linux:~ # /etc/init.d/boot.sysstat start
Running sadc done

Contents of /etc/cron.d/sysstat

root@linux:~ # cat /etc/cron.d/sysstat
# crontab for sysstat

# Activity reports every 10 minutes everyday
*/10 * * * * root [ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 -S ALL 1 1

# Update reports every 6 hours
55 5,11,17,23 * * * root [ -x /usr/lib64/sa/sa2 ] && exec /usr/lib64/sa/sa2 -A

Advertisements
%d bloggers like this: