shell\u67e5\u770blinux\u7248\u672c\u4fe1\u606f<\/strong>\uff0c\u8fd9\u53d6\u51b3\u4e8e\u4f60\u7684\u5185\u6838\u914d\u7f6e\u548c\u88c5\u8f7d\u7684\u6a21\u5757\u3002\u53e6\u5916\uff0c\u5728\/proc\u4e0b\u8fd8\u6709\u4e09\u4e2a\u5f88\u91cd\u8981\u7684\u76ee\u5f55\uff1anet\uff0cscsi\u548csys\u3002Sys\u76ee\u5f55\u662f\u53ef\u5199\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b83\u6765\u8bbf\u95ee\u6216\u66f4\u6539\u5185\u6838\u7684\u53c2\u6570\uff0c\u800cnet\u548cscsi\u5219\u4f9d\u8d56\u4e8e\u5185\u6838\u914d\u7f6e\u3002\u8bf8\u5982\uff0c\u5047\u5982\u7cfb\u7edf\u4e0d\u652f\u6301scsi\u7ea2\u65d7linux\u7cfb\u7edf\uff0c\u5219scsi\u76ee\u5f55\u4e0d\u5b58\u5728\u3002<\/p>\n\u4e0d\u4ec5\u4ee5\u4e0a\u4ecb\u7ecd\u7684\u90a3\u4e9b\uff0c\u8fd8\u6709\u7684\u662f\u4e00\u4e9b\u4ee5\u6570\u5b57\u547d\u540d\u7684\u76ee\u5f55\uff0c\u5b83\u4eec\u662f\u8fdb\u7a0b\u76ee\u5f55\u3002\u7cfb\u7edf\u4e2d\u5f53\u524d\u8fd0\u884c\u7684\u6bcf\u4e00\u4e2a\u8fdb\u7a0b\u90fd\u6709\u5bf9\u5e94\u7684\u4e00\u4e2a\u76ee\u5f55\u5728\/proc\u4e0b\uff0c\u4ee5\u8fdb\u7a0b\u7684PID\u53f7\u4e3a\u76ee\u5f55\u540d\uff0c\u5b83\u4eec\u662f\u8bfb\u53d6\u8fdb\u7a0b\u4fe1\u606f\u7684\u63d2\u53e3\u3002\u800cself\u76ee\u5f55\u5219\u662f\u8bfb\u53d6\u8fdb\u7a0b\u672c\u8eab\u7684\u4fe1\u606f\u63d2\u53e3\uff0c\u662f\u4e00\u4e2alink\u3002<\/p>\n
2.\u5b50\u6587\u4ef6\u6216\u5b50\u6587\u4ef6\u5939<\/p>\n
\/proc\/buddyinfo\u6bcf\u4f4d\u663e\u5b58\u533a\u4e2d\u7684\u6bcf\u4f4dorder\u6709\u591a\u5c11\u5757\u53ef\u7528\uff0c\u548c\u663e\u5b58\u788e\u7247\u95ee\u9898\u6709\u5173<\/p>\n
\/proc\/cmdline\u542f\u52a8\u65f6\u4f20\u9012\u7ed9kernel\u7684\u53c2\u6570\u4fe1\u606f<\/p>\n
\/proc\/cpuinfocpu\u7684\u4fe1\u606f<\/p>\n
<\/p>\n
\/proc\/crypto\u5185\u6838\u4f7f\u7528\u7684\u6240\u6709\u5df2\u5b89\u88c5\u7684\u52a0\u5bc6\u5bc6\u7801\u53ca\u7ec6\u8282<\/p>\n
\/proc\/devices\u65e9\u5df2\u52a0\u8f7d\u7684\u8bbe\u5907\u5e76\u5206\u7c7b<\/p>\n
\/proc\/dma\u5df2\u6ce8\u518c\u4f7f\u7528\u7684ISADMA\u9891\u9053\u5217\u8868<\/p>\n
\/proc\/execdomainsLinux\u5185\u6838\u5f53\u524d\u652f\u6301\u7684executiondomains<\/p>\n
\/proc\/fb\u5e27\u7f13\u51b2\u8bbe\u5907\u5217\u8868\uff0c\u5305\u62ec\u6570\u76ee\u548c\u63a7\u5236\u5b83\u7684\u9a71\u52a8<\/p>\n
\/proc\/filesystems\u5185\u6838\u5f53\u524d\u652f\u6301\u7684\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<\/p>\n
\/proc\/interruptsx86\u6784\u67b6\u4e2d\u7684\u6bcf\u4f4dIRQ\u4e2d\u65ad\u6570<\/p>\n
\/proc\/iomem\u6bcf\u4f4d\u5316\u5b66\u8bbe\u5907\u5f53\u524d\u5728\u7cfb\u7edf\u663e\u5b58\u4e2d\u7684\u6620\u5c04<\/p>\n
\/proc\/ioports\u4e00\u4e2a\u8bbe\u5907\u7684\u8f93\u5165\u8f93\u51fa\u6240\u4f7f\u7528\u7684\u6ce8\u518c\u7aef\u53e3\u8303\u56f4<\/p>\n
\/proc\/kcore\u4ee3\u8868\u7cfb\u7edf\u7684\u6570\u5b66\u663e\u5b58\uff0c\u50a8\u5b58\u4e3a\u6838\u5fc3\u6587\u4ef6\u683c\u5f0f\uff0c\u4e0a\u9762\u663e\u793a\u7684\u662f\u5b57\u8282\u6570\uff0c\u7b49\u4e8eRAM\u5927\u5c0f\u52a0\u4e0a4kb<\/p>\n
\/proc\/kmsg\u8bb0\u5f55\u5185\u6838\u751f\u6210\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7\/sbin\/klogd\u6216\/bin\/dmesg\u6765\u5904\u7406<\/p>\n
\/proc\/loadavg\u4f9d\u7167\u8fc7\u53bb\u4e00\u6bb5\u65f6\u95f4\u5185CPU\u548cIO\u7684\u72b6\u6001\u5f97\u51fa\u7684\u8d1f\u8f7d\u72b6\u6001\uff0c\u4e0euptime\u547d\u4ee4\u6709\u5173<\/p>\n
\/proc\/locks\u5185\u6838\u9501\u4f4f\u7684\u6587\u4ef6\u5217\u8868<\/p>\n
\/proc\/mdstat\u591a\u786c\u789f\uff0cRAID\u914d\u7f6e\u4fe1\u606f(md=multipledisks)<\/p>\n
\/proc\/meminfoRAM\u4f7f\u7528\u7684\u76f8\u5173\u4fe1\u606f<\/p>\n
\/proc\/misc\u5176\u4ed6\u7684\u4e3b\u8981\u8bbe\u5907(\u8bbe\u5907\u53f7\u4e3a10)\u4e0a\u6ce8\u518c\u7684\u9a71\u52a8<\/p>\n
\/proc\/modules\u6240\u6709\u52a0\u8f7d\u5230\u5185\u6838\u7684\u6a21\u5757\u5217\u8868<\/p>\n
\/proc\/mounts\u7cfb\u7edf\u4e2d\u4f7f\u7528\u7684\u6240\u6709\u6302\u8f7d<\/p>\n
\/proc\/mtrr\u7cfb\u7edf\u4f7f\u7528\u7684MemoryTypeRangeRegisters(MTRRs)<\/p>\n
\/proc\/partitions\u5206\u533a\u4e2d\u7684\u5757\u5206\u914d\u4fe1\u606f<\/p>\n
\/proc\/pci\u7cfb\u7edf\u4e2d\u7684PCI\u8bbe\u5907\u5217\u8868<\/p>\n
\/proc\/slabinfo\u7cfb\u7edf\u4e2d\u6240\u6709\u6d3b\u52a8\u7684slab\u7f13\u5b58\u4fe1\u606f<\/p>\n
\/proc\/stat\u6240\u6709\u7684CPU\u6d3b\u52a8\u4fe1\u606f<\/p>\n
\/proc\/sysrq-trigger\u4f7f\u7528echo\u547d\u4ee4\u6765\u5199\u8fd9\u4e2a\u6587\u4ef6\u7684\u65f6\u4faf\uff0c\u8fdc\u7a0broot\u7528\u6237\u53ef\u4ee5\u6267\u884c\u5927\u591a\u6570\u7684\u7cfb\u7edf\u6073\u6c42\u5173\u952e\u547d\u4ee4\uff0c\u5c31\u4f3c\u4e4e\u5728\u672c\u5730\u7ec8\u7aef\u6267\u884c\u4e00\u6837\u3002\u8981\u5199\u5165\u8fd9\u4e2a\u6587\u4ef6\uff0c\u987b\u8981\u628a\/proc\/sys\/kernel\/sysrq\u4e0d\u80fd\u8bbe\u7f6e\u4e3a0\u3002\u8fd9\u4e2a\u6587\u4ef6\u5bf9root\u4e5f\u662f\u4e0d\u53ef\u8bfb\u7684<\/p>\n
\/proc\/uptime\u7cfb\u7edf\u65e9\u5df2\u8fd0\u884c\u4e86\u591a\u4e45<\/p>\n
\/proc\/swaps\u4ea4\u6362\u7a7a\u95f4\u7684\u4f7f\u7528\u60c5\u51b5<\/p>\n
\/proc\/versionLinux\u5185\u6838\u7248\u672c\u548cgcc\u7248\u672c<\/p>\n
\/proc\/bus\u7cfb\u7edf\u603b\u7ebf(Bus)\u4fe1\u606fshell\u67e5\u770blinux\u7248\u672c\u4fe1\u606f<\/strong>\uff0c\u6bd4\u5982pci\/usb\u7b49<\/p>\n\/proc\/driver\u9a71\u52a8\u4fe1\u606f<\/p>\n
\/proc\/fs\u6587\u4ef6\u7cfb\u7edf\u4fe1\u606f<\/p>\n
\/proc\/ideide\u8bbe\u5907\u4fe1\u606f<\/p>\n
\/proc\/irq\u4e2d\u65ad\u6073\u6c42\u8bbe\u5907\u4fe1\u606f<\/p>\n
\/proc\/net\u7f51\u5361\u8bbe\u5907\u4fe1\u606f<\/p>\n
\/proc\/scsiscsi\u8bbe\u5907\u4fe1\u606f<\/p>\n
\/proc\/ttytty\u8bbe\u5907\u4fe1\u606f<\/p>\n
\/proc\/net\/dev\u663e\u793a\u7f51\u8def\u9002\u914d\u5668\u53ca\u7edf\u8ba1\u4fe1\u606f<\/p>\n
\/proc\/vmstat\u865a\u62df\u663e\u5b58\u7edf\u8ba1\u4fe1\u606f<\/p>\n
\/proc\/vmcore\u5185\u6838panic\u65f6\u7684\u663e\u5b58\u6620\u50cf<\/p>\n
\/proc\/diskstats\u53d6\u5f97c\u76d8\u4fe1\u606f<\/p>\n
\/proc\/schedstatkernel\u8c03\u5ea6\u5668\u7684\u7edf\u8ba1\u4fe1\u606f<\/p>\n
\/proc\/zoneinfo\u663e\u793a\u663e\u5b58\u7a7a\u95f4\u7684\u7edf\u8ba1\u4fe1\u606f\uff0c\u5bf9\u5256\u6790\u865a\u62df\u663e\u5b58\u884c\u4e3a\u5f88\u6709\u7528<\/p>\n
\u4ee5\u4e0b\u662f\/proc\u76ee\u5f55\u4e2d\u8fdb\u7a0bN\u7684\u4fe1\u606f<\/p>\n
\/proc\/Npid\u4e3aN\u7684\u8fdb\u7a0b\u4fe1\u606f<\/p>\n
\/proc\/N\/cmdline\u8fdb\u7a0b\u542f\u52a8\u547d\u4ee4<\/p>\n
\/proc\/N\/cwd\u94fe\u63a5\u5230\u8fdb\u7a0b\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<\/p>\n
\/proc\/N\/environ\u8fdb\u7a0b\u73af\u5883\u53d8\u91cf\u5217\u8868<\/p>\n
\/proc\/N\/exe\u94fe\u63a5\u5230\u8fdb\u7a0b\u7684\u6267\u884c\u547d\u4ee4\u6587\u4ef6<\/p>\n
\/proc\/N\/fd\u5305\u542b\u8fdb\u7a0b\u76f8\u5173\u7684\u6240\u6709\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26<\/p>\n
\/proc\/N\/maps\u4e0e\u8fdb\u7a0b\u76f8\u5173\u7684\u663e\u5b58\u6620\u5c04\u4fe1\u606f<\/p>\n
\/proc\/N\/mem\u6307\u4ee3\u8fdb\u7a0b\u6301\u6709\u7684\u663e\u5b58\uff0c\u4e0d\u53ef\u8bfb<\/p>\n
\/proc\/N\/root\u94fe\u63a5\u5230\u8fdb\u7a0b\u7684\u6839\u76ee\u5f55<\/p>\n
\/proc\/N\/stat\u8fdb\u7a0b\u7684\u72b6\u6001<\/p>\n
\/proc\/N\/statm\u8fdb\u7a0b\u4f7f\u7528\u7684\u663e\u5b58\u7684\u72b6\u6001<\/p>\n
\/proc\/N\/status\u8fdb\u7a0b\u72b6\u6001\u4fe1\u606f\uff0c\u6bd4stat\/statm\u66f4\u5177\u53ef\u8bfb\u6027<\/p>\n
\/proc\/self\u94fe\u63a5\u5230\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b<\/p>\n
\u63a8\u8350\u5b66\u4e60\uff1a\u300aLinux\u89c6\u9891\u6559\u7a0b\u300b<\/p>\n","protected":false},"excerpt":{"rendered":"
\u67e5\u770b\/proc\/uptime\u6587\u4ef6\u8ba1\u7b97\u7cfb\u7edf\u8fd0\u884c\u65f6\u95f4id\u6709\u51e0\u4e2a\u5c31\u6709\u51e0\u4e2a\u7269\u7406cpu\uff1b\u67e5\u770bprocessor\u6709\u51e0\u4e2a\u5c31\u6709\u51e0\u4e2a\u903b\u8f91cpu\u3002\/proc\/cpuinfo\u7528\u6765\u5b58\u50a8cpu\u786c\u4ef6\u4fe1\u606f\u7684lscpu\u547d\u4ee4\uff0c\u67e5\u770b\u7684\u662fcpu\u7684\u7edf\u8ba1\u4fe1\u606f\u800cself\u76ee\u5f55\u5219\u662f\u8bfb\u53d6\u8fdb\u7a0b\u672c\u8eab\u7684\u4fe1\u606f\u63a5\u53e3\uff0c\u662f\u4e00\u4e2alink\u3002\u8981\u5199\u5165\u8fd9\u4e2a\u6587\u4ef6\uff0c\u9700\u8981\u628a\/proc\/sys\/kernel\/sysrq\u4e0d\u80fd\u8bbe\u7f6e\u4e3a0\u3002<\/p>\n","protected":false},"author":1,"featured_media":269433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-269432","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269432"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269432\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/269433"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}