assuming POWER4/POWER5/5+/POWER6 and AIX 5L TL3 and later, or AIX6 Earl Jew/IBM FTSS-Storage SoCalif earlj@us.ibm.com directcell(310) 251-2907 Version: May 21,2008 1) Collect an hourly execution of "uptime ; vmstat -sv" to a monthly textfile. Cron this hourly collection of "vmstat -sv" to an ever-growing textfile with something not unlike: "uptime >> /tmp/vmstatSV.`hostname` ; vmstat -sv >> /tmp/vmstatSV.`hostname`" Any 14Day collection of the above will be less than 80kbytes. 2) Performance Collection Script: NOTE: There is a subsection of rootuser-needed commands in the below script. Please execute&collect and then share it back for our preliminary review. Please execute at any time with-or-without an active workload. Either way, the collected data is useful. The script collects 6mb-20mb of text per run. #!/bin/ksh -x #assuming POWER4/POWER5/5+/POWER6 and AIX 5L TL3 and later, or AIX6 #Earl Jew/IBM FTSS-Storage SoCalif #earlj@us.ibm.com directcell(310) 251-2907 #Version: May 21,2008 date uname -a id oslevel -s lparstat -i uptime vmstat -sv vmstat -Iwt 2 40 ps -ekf | grep -v egrep | egrep "syncd|lrud|nfsd|biod" mount cat /etc/filesystems df -k lsps -a lsps -s prtconf ps -el | wc ps -elmo THREAD | wc ps -kl | wc ps -klmo THREAD | wc ##### BEGIN rootuser-privileges section vmo -L # requires root-user to execute; makes no changes ioo -L # requires root-user to execute; makes no changes no -L # requires root-user to execute; makes no changes nfso -L # requires root-user to execute; makes no changes schedo -L # requires root-user to execute; makes no changes raso -L # requires root-user to execute; makes no changes for VG in `lsvg` do lvmo -a -v $VG # requires root-user to execute; makes no changes done uptime sar -d 2 80 # requires root-user to execute; makes no changes ##### END rootuser-privileges section uptime iostat -aT 2 40 | grep -v "0.0 0.0 0.0 0 0" ipcs -bm uptime vmstat -Iwt 2 40 uptime mpstat -w 2 40 uptime mpstat -dw 2 40 uptime mpstat -i 2 40 lsdev lscfg vmstat -f vmstat -i nfso -a iostat -a iostat -s ps -ef ps -kf ps -el ps -kl ps -elmo THREAD ps -klmo THREAD ps gu ps gv cat /etc/xtab showmount nfsstat ifconfig -a netstat -ss netstat -in netstat -rn netstat -m netstat -v netstat -c netstat -C netstat -D netstat -s netstat -M netstat -A iostat -aT 2 40 | grep -v "0.0 0.0 0.0 0 0" iostat -mT 2 40 | grep -v "0.0 0.0 0.0 0 0" iostat -AQ 2 40 | grep -v " 0 " iostat -DT 80 4 uptime vmstat -sv vmstat -Iwt 2 40 date id uname -a