{"id":1519,"date":"2017-05-25T16:47:54","date_gmt":"2017-05-25T20:47:54","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=1519"},"modified":"2017-05-25T22:23:59","modified_gmt":"2017-05-26T02:23:59","slug":"install-sysstat-to-enable-system-monitoring","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/05\/25\/install-sysstat-to-enable-system-monitoring\/","title":{"rendered":"Install SysStat to enable system monitoring"},"content":{"rendered":"<p><strong>Install SysStat<\/strong><br \/>\n# yum -y install sysstat<br \/>\n# systemctl start sysstat<br \/>\n# systemctl enable sysstat<\/p>\n<p><strong>Check the status of SysStat<\/strong><br \/>\n# systemctl status sysstat<\/p>\n<p><strong>Add SysStat into a Cron Job<\/strong><br \/>\n# cat \/etc\/cron.d\/sysstat<\/p>\n<p># Run system activity accounting tool every 10 minutes<br \/>\n*\/10 * * * * root \/usr\/lib64\/sa\/sa1 1 1<br \/>\n# 0 * * * * root \/usr\/lib64\/sa\/sa1 600 6 &amp;<br \/>\n# Generate a daily summary of process accounting at 23:53<br \/>\n53 23 * * * root \/usr\/lib64\/sa\/sa2 -A<\/p>\n<p><strong>Settings of SysStat<\/strong><\/p>\n<p>\/etc\/sysconfig\/sysstat<\/p>\n<p># sysstat-10.1.5 configuration file.<\/p>\n<p># How long to keep log files (in days).<br \/>\n# If value is greater than 28, then log files are kept in<br \/>\n# multiple directories, one for each month.<\/p>\n<p>HISTORY=28<\/p>\n<p># Compress (using gzip or bzip2) sa and sar files older than (in days):<\/p>\n<p>COMPRESSAFTER=31<\/p>\n<p># Parameters for the system activity data collector<br \/>\n# which are used for the generation of log files<\/p>\n<p># *note<\/p>\n<p>SADC_OPTIONS=&#8221;-S DISK&#8221;<\/p>\n<p># *note : valid options<\/p>\n<p>INT\u00a0\u00a0\u00a0\u00a0 \u21d2\u00a0 System Interrupts<br \/>\nDISK\u00a0\u00a0\u00a0 \u21d2\u00a0 Block Devices<br \/>\nSNMP\u00a0\u00a0\u00a0 \u21d2\u00a0 SNMP statistics<br \/>\nIPV6\u00a0\u00a0\u00a0 \u21d2\u00a0 IPv6 statistics<br \/>\nPOWER\u00a0\u00a0 \u21d2\u00a0 Power Management statistics<br \/>\nALL\u00a0\u00a0\u00a0\u00a0 \u21d2\u00a0 All of the above<br \/>\nXDISK\u00a0\u00a0 \u21d2\u00a0 DISK + Partition statistics<br \/>\nXALL\u00a0\u00a0\u00a0 \u21d2\u00a0 All of the above (ALL + XDISK)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install SysStat # yum -y install sysstat # systemctl start sysstat # systemctl enable sysstat Check the status of SysStat # systemctl status sysstat Add SysStat into a Cron Job # cat \/etc\/cron.d\/sysstat # Run system activity accounting tool every 10 minutes *\/10 * * * * root \/usr\/lib64\/sa\/sa1 1 1 # 0 * * &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2017\/05\/25\/install-sysstat-to-enable-system-monitoring\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install SysStat to enable system monitoring<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Install SysStat to enable system monitoring - HP Server","description":"Install SysStat # yum -y install sysstat # systemctl start sysstat # systemctl enable sysstat Check the status of SysStat # systemctl status sysstat Add SysStat"},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1519","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1519"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1519\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}