# apt-get install sysstat# vim /etc/default/sysstat
ENABLED="true"
# service sysstat start
* Starting the system activity data collector sadc [ OK ]
·Î±×°æ·Î : /var/log/sysstat
ÆÄÀϸí : sa27 (sa³¯Â¥ÇüÅ·ΠÆÄÀÏÀÌ »ý¼º)
example1)
2ÃÊ´ÜÀ§·Î 5¹ø CPU Report
# sar 2 5
example2)
·¹Æ÷Æ®¸¦ ¹ÙÀ̳ʸ® ÆÄÀÏ ÇüÅ·ΠÀúÀå
# sar 2 5 -o /tmp/sar_data > /dev/null 2>&1
º¸±â
# sar -f /tmp/sar_data
example3)
¸Þ¸ð¸® ·¹Æ÷Æ®
# sar -r 2 5
example4)
ÆäÀÌ¡ »óÅ ·¹Æ÷Æ®
# sar -B 2 5