Hi Simon,
Thanks for the reply. Please find the answers to your queries:
- How are you running sar on your SLES11 and RHEL5 servers?
There is a crontab for sysstat, and we have setup so that we get server resource utilization samples every 5 minutes and that the SAR report is generated every 6 hours. We are using the -p option so that we “Pretty-print” device names.
dot435:/etc/cron.d # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
dot435:/etc/cron.d # sar -V
sysstat version 8.1.5
(C) Sebastien Godard (sysstat orange.fr)
dot435:/etc/cron.d # cat sysstat
crontab for sysstat
Activity reports every 5 minutes everyday
*/5 * * * * root [ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 -S ALL 1 1
Update reports every 6 hours
50 5,11,17,23 * * * root [ -x /usr/lib64/sa/sa2 ] && exec /usr/lib64/sa/sa2 -Ap
[root@dot380 cron.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[root@dot380 cron.d]# sar -V
sysstat version 7.0.2
(C) Sebastien Godard
[root@dot380 cron.d]# cat sysstat
run system activity accounting tool every 5 minutes
*/5 * * * * root /usr/lib64/sa/sa1 1 1
generate summary of process accounting at every 6 hours
50 5,11,17,23 * * * root /usr/lib64/sa/sa2 -Ap
- Which versions of sar (sar -V) and ksar are in play here?
We have written a script which gets the sar files from all the Linux servers (SuSE/Redhat) and generates ksar graphs. The script runs on a edhat server (dot118). The “Sar” version on the SuSE/RedHat server and the “kSar” version on the redhat server where we generate the ksar graphs for the sar files collected are listed below:
dot435:/etc/cron.d # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
dot435:/etc/cron.d # sar -V
sysstat version 8.1.5
(C) Sebastien Godard (sysstat orange.fr)
[root@dot380 cron.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[root@dot380 cron.d]# sar -V
sysstat version 7.0.2
(C) Sebastien Godard
[root@dot118 kSar-5.0.6]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
[root@dot118 kSar-5.0.6]# /usr/bin/java -jar /sysinfo/kSar-5.0.6/kSar.jar -version
kSar version: 5.0.6
- Are you running SLES11 and RHEL5 on servers with the same hardware or different?
All the SuSE and RedHat servers are VM’s that run on the vmware infrastructure.
dot435:/etc/cron.d # dmidecode | grep -A 8 “System Information”
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: VMware-42 2c c0 b7 12-da 61 00 29 a3
UUID: 42342FD7-DA61-00CF49E029A3
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
[root@dot380 cron.d]# dmidecode | grep -A 8 “System Information”
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: VMware-42 34 10 0c 3c-f1 de 8b 62 41
UUID: 4234100C-F1A2-18BFDE8B6241
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
[root@dot118 kSar-5.0.6]# dmidecode | grep -A 8 “System Information”
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: VMware-42 a6 2e 6b b5-58 45 d0 b3 48
UUID: 4234E2C8-5845-D0DCC976B348
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Thanks.