root执行:
把下载的文件如perf52.tar.Z放到/tmp
# mkdir /tmp/perf52
# cd /tmp/perf52
# zcat /tmp/perf52.tar.Z | tar -xvf -
# sh ./Install
(C) COPYRIGHT International Business Machines Corp., 2000
PERFPMR Installation started...
PERFPMR Installation completed.
安装结束。
建立一个专门收集信息的目录perfdata
# mkdir /tmp/perfdata
# cd /tmp/perfdata
执行perfpmr.sh 600 (600秒)
会在perfdata下产生收集的信息文件,约70个左右;
将全部文件打包再发给IBM
# tar -cvf perfdata.tar perfdata
# compress perfdata.tar