# emerge app-admin/sysstat # /etc/init.d/sysstat start # rc-update sysstat add default
# apt-get update && apt-get install sysstat cron
Правим параметр ENABLED в конфиге /etc/default/sysstat:
# cat /etc/default/sysstat # # Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat # and /etc/cron.daily/sysstat files # # Should sadc collect system activity informations? Valid values # are "true" and "false". Please do not put other values, they # will be overwritten by debconf! ENABLED="true" # Additional options passed to sa1 by /etc/init.d/sysstat # and /etc/cron.d/sysstat # By default contains the `-d' option responsible for # generating disk statisitcs. SA1_OPTIONS="-d" # Additional options passed to sa2 by /etc/cron.daily/sysstat. SA2_OPTIONS=""
стартуем демон:
# /etc/init.d/sysstat start * Starting the system activity data collector sadc [ OK ]
# yum install sysstat
Выводит статистику по активности ввода/вывода по каждому из устройств