
{"id":5910,"date":"2011-01-14T12:30:01","date_gmt":"2011-01-14T12:30:01","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=4642"},"modified":"2011-01-14T12:30:01","modified_gmt":"2011-01-14T12:30:01","slug":"taskset","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/01\/14\/taskset\/","title":{"rendered":"taskset."},"content":{"rendered":"<pre>\n$taskset -p 1578\npid 1578's current affinity mask: 1\n$\n\n<\/pre>\n<pre>\ntaskset is used to  retrive or set the processor affinity\nmask of either an  existing process,given it's PID, or to\nrun  a  new  process,  given  it's  command  name,with  a\nspecified  affinity mask. The  Linux scheduler  will then\nhonor the  given affinity mask,ensuring  that the process\nin question runs only on allowed processors.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$taskset -p 1578 pid 1578&#8217;s current affinity mask: 1 $ taskset is used to retrive or set the processor affinity mask of either an existing process,given it&#8217;s PID, or to run a new process, given it&#8217;s command name,with a specified affinity mask. The Linux scheduler will then honor the given affinity mask,ensuring that the process &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/01\/14\/taskset\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;taskset.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5910"}],"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=5910"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5910\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}