{"id":3690,"date":"2019-06-29T10:09:08","date_gmt":"2019-06-29T02:09:08","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3690"},"modified":"2019-06-29T10:09:10","modified_gmt":"2019-06-29T02:09:10","slug":"procinfo","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/procinfo","title":{"rendered":"procinfo\u547d\u4ee4 – \u663e\u793a\u7cfb\u7edf\u72b6\u6001"},"content":{"rendered":"\n

proc\u6587\u4ef6\u7cfb\u7edf\u662f\u4e00\u4e2a\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u5176\u4e2d\u5305\u542b\u5b58\u50a8\u6709\u5173\u8fdb\u7a0b\u548c\u5176\u4ed6\u7cfb\u7edf\u4fe1\u606f\u7684\u4fe1\u606f\u7684\u6587\u4ef6\u3002 \u5b83\u88ab\u6620\u5c04\u5230\/proc\u76ee\u5f55\u5e76\u5728\u542f\u52a8\u65f6\u6302\u8f7d\u3002 \u8bb8\u591a\u7a0b\u5e8f\u4ece\/ proc\u6587\u4ef6\u7cfb\u7edf\u4e2d\u68c0\u7d22\u4fe1\u606f\uff0c\u5bf9\u5176\u8fdb\u884c\u5904\u7406\u5e76\u5c06\u5176\u63d0\u4f9b\u7ed9\u5404\u79cd\u7528\u9014\u3002 <\/p>\n\n\n\n

Procinfo\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\u884c\u5b9e\u7528\u7a0b\u5e8f\uff0c\u7528\u4e8e\u67e5\u770b\u4ece\/ proc\u76ee\u5f55\u6536\u96c6\u7684\u7cfb\u7edf\u4fe1\u606f\uff0c\u5e76\u5728\u6807\u51c6\u8f93\u51fa\u8bbe\u5907\u4e0a\u6253\u5370\u7cbe\u7f8e\u7684\u683c\u5f0f\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u663e\u793a\u6240\u6709\u4fe1\u606f<\/td><\/tr>
-b<\/td>\u663e\u793a\u78c1\u76d8\u8bbe\u5907\u7684\u533a\u5757\u6570\u76ee\uff0c\u800c\u975e\u5b58\u53d6\u6570\u76ee<\/td><\/tr>
-d<\/td>\u663e\u793a\u7cfb\u7edf\u4fe1\u606f\u6bcf\u79d2\u95f4\u7684\u53d8\u5316\u5dee\u989d\uff0c\u800c\u975e\u603b\u548c\u7684\u6570\u503c\u3002 \u5fc5\u987b\u914d\u5408\u201d-f\u201d\u53c2\u6570\u4f7f\u7528 <\/td><\/tr>
-D<\/td>\u6b64\u53c2\u6570\u6548\u679c\u548c\u6307\u5b9a\u201d-d\u201d\u53c2\u6570\u7c7b\u4f3c\uff0c\u4f46\u5185\u5b58\u548c\u4ea4\u6362\u6587\u4ef6\u7684\u4fe1\u606f\u4e3a\u603b\u548c\u6570\u503c<\/td><\/tr>
-f<\/td>\u8fdb\u5165\u5168\u753b\u9762\u7684\u4e92\u52a8\u5f0f\u64cd\u4f5c\u754c\u9762<\/td><\/tr>
-F<\/td>\u628a\u4fe1\u606f\u72b6\u6001\u8f93\u51fa\u5230\u6587\u4ef6\u4fdd\u5b58\u8d77\u6765<\/td><\/tr>
-i<\/td>\u663e\u793a\u5b8c\u6574\u7684IRP\u5217\u8868<\/td><\/tr>
-m<\/td>\u663e\u793a\u7cfb\u7edf\u6a21\u5757\u548c\u5916\u56f4\u8bbe\u5907\u7b49\u76f8\u5173\u4fe1\u606f<\/td><\/tr>
-n<\/td>\u8bbe\u7f6e\u5168\u753b\u9762\u4e92\u52a8\u6a21\u5f0f\u7684\u4fe1\u606f\u66f4\u65b0\u901f\u5ea6\uff0c\u5355\u4f4d\u4ee5\u79d2\u8ba1\u7b97<\/td><\/tr>
-s<\/td>\u663e\u793a\u7cfb\u7edf\u7684\u5185\u5b58\uff0c\u78c1\u76d8\u7a7a\u95f4\uff0cIRP\u548cDMA\u7b49\u4fe1\u606f\uff0c\u6b64\u4e3a\u9884\u8bbe\u503c<\/td><\/tr>
-S<\/td>\u642d\u914d\u53c2\u6570\u201d-d\u201d\u6216\u201d-D\u201d\u4f7f\u7528\uff0c\u6bcf\u79d2\u90fd\u4f1a\u66f4\u65b0\u4fe1\u606f<\/td><\/tr>
-H<\/td>\u5185\u5b58\u4fe1\u606f\u8f6c\u6362\u4e3a\u53ef\u8bfb(KB\u3001MB\u3001GB)\u683c\u5f0f\u5355\u4f4d<\/td><\/tr>
-v<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u663e\u793a\u7cfb\u7edf\u72b6\u6001\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# procinfo<\/pre>\n\n\n\n

\u4ee5\u6bcf\u79d2\u4e3a\u57fa\u7840\u663e\u793a\u7edf\u8ba1\u6570\u636e\uff0c\u800c\u4e0d\u662f\u6309\u603b\u503c\u663e\u793a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# procinfo -d -f<\/pre>\n\n\n\n

\u5c06\u7edf\u8ba1\u4fe1\u606f\u663e\u793a\u4e3a\u603b\u8ba1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# procinfo -D<\/pre>\n","protected":false},"excerpt":{"rendered":"

proc\u6587\u4ef6\u7cfb\u7edf\u662f\u4e00\u4e2a\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u5176\u4e2d\u5305\u542b\u5b58\u50a8\u6709\u5173\u8fdb\u7a0b\u548c\u5176\u4ed6\u7cfb\u7edf\u4fe1\u606f\u7684\u4fe1\u606f\u7684\u6587\u4ef6\u3002 \u5b83\u88ab\u6620\u5c04\u5230\/proc\u76ee\u5f55 […]<\/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\/3690"}],"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=3690"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3690\/revisions"}],"predecessor-version":[{"id":3701,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3690\/revisions\/3701"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}