{"id":8069,"date":"2020-06-22T15:56:27","date_gmt":"2020-06-22T07:56:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8069"},"modified":"2022-06-17T15:39:59","modified_gmt":"2022-06-17T07:39:59","slug":"chrt","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/chrt","title":{"rendered":"chrt\u547d\u4ee4 – \u5b9e\u65f6\u7ba1\u7406\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\u7b56\u7565"},"content":{"rendered":"\n

chrt\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cChange real-time\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u5b9e\u65f6\u7ba1\u7406\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\u7b56\u7565\uff0c\u7b56\u7565\u503c\u8303\u56f4\u57280~99\u4e4b\u95f4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>chrt [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-m<\/td>\u663e\u793a\u6700\u5c0f\u548c\u6700\u5927\u6709\u6548\u4f18\u5148\u7ea7<\/td><\/tr>
-p<\/td>\u5bf9\u73b0\u6709\u7684\u7ed9\u5b9apid\u8fdb\u884c\u64cd\u4f5c<\/td><\/tr>
-h<\/td>\u663e\u793a\u6b64\u5e2e\u52a9<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u66f4\u6539\u6307\u5b9a\u7684\u8fdb\u7a0b\u540d\u79f0\u4f18\u5148\u7ea7\u7b56\u7565\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# chrt -f 10 bash<\/strong><\/pre>\n\n\n\n

\u66f4\u6539\u6307\u5b9a\u7684\u8fdb\u7a0b\u53f7\u7801\u4f18\u5148\u7ea7\u7b56\u7565\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# chrt -p -r 10 6688<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

chrt\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cChange real-time\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u5b9e\u65f6\u7ba1\u7406\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\u7b56\u7565\uff0c\u7b56 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8069"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8069"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8069\/revisions"}],"predecessor-version":[{"id":10322,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8069\/revisions\/10322"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}