系统:centos6.7
yum list sysstat
yum install sysstat.x86_64
cd /etc
ls cron*
cat /etc/cron.d/sysstat
*/10 * * * * root /usr/lib64/sa/sa1 1 1
53 23 * * * root /usr/lib64/sa/sa2 -A
log
cd /var/log/sa
监控cup
sar -q -f sa25
时间: 2024-10-18 02:28:02