
{"id":5387,"date":"2011-08-07T18:29:59","date_gmt":"2011-08-07T18:29:59","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5387"},"modified":"2011-08-07T18:29:59","modified_gmt":"2011-08-07T18:29:59","slug":"chrt-manipulate-real-time-attributes-of-a-process","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/08\/07\/chrt-manipulate-real-time-attributes-of-a-process\/","title":{"rendered":"chrt &#8211; manipulate real-time attributes of a process"},"content":{"rendered":"<h5><u> A UNIX Command <\/u><\/h5>\n<pre>\n$chrt -m\nSCHED_OTHER min\/max priority\t: 0\/0\nSCHED_FIFO min\/max priority\t: 1\/99\nSCHED_RR min\/max priority\t: 1\/99\nSCHED_BATCH min\/max priority\t: 0\/0\nSCHED_IDLE min\/max priority\t: 0\/0\n$chrt -b  -p 0 4555\n$chrt -p 4555\npid 4555's current scheduling policy: SCHED_BATCH\npid 4555's current scheduling priority: 0\n$chrt -o  -p 0 4555\n$chrt -p 4555\npid 4555's current scheduling policy: SCHED_OTHER\npid 4555's current scheduling priority: 0\n$\n\n<\/pre>\n<p><\/p>\n<h5><u> UNIX Explanation <\/u><\/h5>\n<pre>\nchrt   sets  or retrieves the real-time scheduling\nattributes of an existing PID or runs COMMAND with\nthe given attributes.  Both policy (one of SCHED_OTHER,\nSCHED_FIFO, SCHED_RR, SCHED_BATCH, or SCHED_IDLE)\nand priority can be set and retrieved.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A UNIX Command $chrt -m SCHED_OTHER min\/max priority : 0\/0 SCHED_FIFO min\/max priority : 1\/99 SCHED_RR min\/max priority : 1\/99 SCHED_BATCH min\/max priority : 0\/0 SCHED_IDLE min\/max priority : 0\/0 $chrt -b -p 0 4555 $chrt -p 4555 pid 4555&#8217;s current scheduling policy: SCHED_BATCH pid 4555&#8217;s current scheduling priority: 0 $chrt -o -p 0 4555 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/08\/07\/chrt-manipulate-real-time-attributes-of-a-process\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;chrt &#8211; manipulate real-time attributes of a process&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[387,1035,1410],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5387"}],"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=5387"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5387\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}