{"id":2348,"date":"2019-05-27T00:01:45","date_gmt":"2019-05-26T16:01:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2348"},"modified":"2019-05-27T00:01:47","modified_gmt":"2019-05-26T16:01:47","slug":"renice","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/renice","title":{"rendered":"renice\u547d\u4ee4 – \u7cfb\u7edf\u7ba1\u7406"},"content":{"rendered":"\n

renice\u547d\u4ee4\u53ef\u4ee5\u4fee\u6539\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u7684\u8c03\u5ea6\u4f18\u5148\u7ea7\u3002<\/p>\n\n\n\n

\u8be5\u547d\u4ee4\u9884\u8bbe\u662f\u4ee5\u7a0b\u5e8f\u8bc6\u522b\u7801\u6307\u5b9a\u7a0b\u5e8f\u8c03\u6574\u5176\u4f18\u5148\u6743\uff0c\u60a8\u4ea6\u53ef\u4ee5\u6307\u5b9a\u7a0b\u5e8f\u7fa4\u7ec4\u6216\u7528\u6237\u540d\u79f0\u8c03\u6574\u4f18\u5148\u6743\u7b49\u7ea7\uff0c\u5e76\u4fee\u6539\u6240\u6709\u96b6\u5c5e\u4e8e\u8be5\u7a0b\u5e8f\u7fa4\u7ec4\u6216\u7528\u6237\u7684\u7a0b\u5e8f\u7684\u4f18\u5148\u6743\u3002\u53ea\u6709\u7cfb\u7edf\u7ba1\u7406\u8005\u53ef\u4ee5\u6539\u53d8\u5176\u4ed6\u7528\u6237\u7a0b\u5e8f\u7684\u4f18\u5148\u6743\uff0c\u4e5f\u4ec5\u6709\u7cfb\u7edf\u7ba1\u7406\u8005\u53ef\u4ee5\u8bbe\u7f6e\u8d1f\u6570\u7b49\u7ea7\u3002 <\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-g <\/td>\u6307\u5b9a\u8fdb\u7a0b\u7ec4id<\/td><\/tr>
-p <\/td>\u6539\u53d8\u8be5\u7a0b\u5e8f\u7684\u4f18\u5148\u6743\u7b49\u7ea7\uff0c\u6b64\u53c2\u6570\u4e3a\u9884\u8bbe\u503c<\/td><\/tr>
-u <\/td>\u6307\u5b9a\u5f00\u542f\u8fdb\u7a0b\u7684\u7528\u6237\u540d<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u5c06\u884c\u7a0bid\u4e3a987\u53ca32\u7684\u8fdb\u7a0b\u4e0e\u8fdb\u7a0b\u62e5\u6709\u8005\u4e3adaemon\u53caroot\u7684\u4f18\u5148\u5e8f\u53f7\u7801\u52a01\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# renice +1 987 -u daemon root -p 32 <\/pre>\n","protected":false},"excerpt":{"rendered":"

renice\u547d\u4ee4\u53ef\u4ee5\u4fee\u6539\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u7684\u8c03\u5ea6\u4f18\u5148\u7ea7\u3002 \u8be5\u547d\u4ee4\u9884\u8bbe\u662f\u4ee5\u7a0b\u5e8f\u8bc6\u522b\u7801\u6307\u5b9a\u7a0b\u5e8f\u8c03\u6574\u5176\u4f18\u5148\u6743\uff0c\u60a8\u4ea6\u53ef\u4ee5\u6307 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2348"}],"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=2348"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2348\/revisions"}],"predecessor-version":[{"id":2662,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2348\/revisions\/2662"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}