
{"id":14409,"date":"2013-11-08T13:11:55","date_gmt":"2013-11-08T13:11:55","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=14409"},"modified":"2013-11-08T13:11:55","modified_gmt":"2013-11-08T13:11:55","slug":"watch-execute-a-program-periodically","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/11\/08\/watch-execute-a-program-periodically\/","title":{"rendered":"watch &#8211; execute a program periodically"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<p>following commandline session may not be accurate.<\/p>\n<pre>\n$vmstat\nprocs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----\n r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa\n 1  0      0 2246368  32720 497284    0    0   217    10  236  436  3  1 92  3\n$watch vmstat\n$watch -n 0.5 vmstat\n$watch -n 0.5 iostat\n$watch -n 0.5 iostat\n$iostat\nLinux 3.12.0 (debian) \tFriday 08 November 2013 \t_x86_64_\t(2 CPU)\n\navg-cpu:  %user   %nice %system %iowait  %steal   %idle\n           6.64    0.01    2.31    1.80    0.00   89.24\n\nDevice:            tps    kB_read\/s    kB_wrtn\/s    kB_read    kB_wrtn\nsda               8.82       272.09        51.03     696015     130532\n\n$\n\n<\/pre>\n<h4><u>the following video tutorial content may not be accurate<\/u><\/h4>\n<pre>\n[youtube https:\/\/www.youtube.com\/watch?v=8T_GK9dT7ts?rel=0&w=560&h=315]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session following commandline session may not be accurate. $vmstat procs &#8212;&#8212;&#8212;&#8211;memory&#8212;&#8212;&#8212;- &#8212;swap&#8211; &#8212;&#8211;io&#8212;- -system&#8211; &#8212;-cpu&#8212;- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 0 2246368 32720 497284 0 0 217 10 236 436 3 1 92 3 $watch vmstat $watch -n 0.5 vmstat $watch &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/11\/08\/watch-execute-a-program-periodically\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;watch &#8211; execute a program periodically&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,91],"tags":[832,1035,1532],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14409"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=14409"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14409\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=14409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=14409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=14409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}