SysStat をインストール システム情報収集 [root@falcon21 ~]# yum -y install sysstat –------------- C[root@falcon21 ~]# cat /etc/cron.d/sysstat # Run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib/sa/sa1 1 1 // 10分おきに # 0 * * * * root /usr/lib/sa/sa1 600 6 & # Generate a daily summary of process accounting at 23:53 53 23 * * * root /usr/lib/sa/sa2 -A // 毎日 23時53分に –---------------- *5 INT # ⇒ System Interrupts *5 DISK # ⇒ Block Devices *5 SNMP # ⇒ SNMP statistics #IPV6 # ⇒ IPv6 statistics *5 POWER # ⇒ Power Management statistics *5 ALL # ⇒ All of the above *5 XDISK # ⇒ DISK + Partition statistics *5 XALL # ⇒ All of the above (ALL + XDISK)
[root@falcon21 ~]# /etc/rc.d/init.d/sysstat restart ----------------------------------------------------------------------------------------------------
|