{"id":1356,"date":"2026-01-14T20:15:54","date_gmt":"2026-01-14T20:15:54","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=1356"},"modified":"2026-01-15T05:54:49","modified_gmt":"2026-01-15T05:54:49","slug":"included-sysstat-functions","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/included-sysstat-functions\/","title":{"rendered":"Included Sysstat Functions"},"content":{"rendered":"<p>Mwnci system stats functions that are not part of the builtin functions can be loaded with<\/p>\n<pre>include(\"sysstat\")<\/pre>\n<h2>Functions<\/h2>\n<div class=\"table-wrap\">\n<table class=\"confluenceTable\">\n<tbody>\n<tr>\n<td class=\"confluenceTd\"><strong>Command<\/strong><\/td>\n<td class=\"confluenceTd\"><strong>Definition<\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-iostat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">iostat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a hash containing disk read\/write statistics<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-pidmem-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">pidmem()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a hash containing memory and cpu information of processes.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\"><a class=\"conf-macro output-inline\" href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-pidstat-function\/\" data-macro-name=\"sp-nobody-link\" data-hasbody=\"false\">pidstat()<\/a><\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Returns a hash keyed on process id&#8217;s containing CPU usage for each process.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mwnci system stats functions that are not part of the builtin functions can be loaded with include(&#8220;sysstat&#8221;) Functions Command Definition iostat() Returns a hash containing disk read\/write statistics pidmem() Returns a hash containing memory and cpu information of processes. pidstat() Returns a hash keyed on process id&#8217;s containing CPU usage for each process.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1356","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1356"}],"version-history":[{"count":4,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1356\/revisions"}],"predecessor-version":[{"id":1369,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1356\/revisions\/1369"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}