{"id":269432,"date":"2023-04-15T04:05:42","date_gmt":"2023-04-14T20:05:42","guid":{"rendered":"https:\/\/lrxjmw.cn\/wjjsxtyxsjny.html"},"modified":"2023-04-15T04:05:42","modified_gmt":"2023-04-14T20:05:42","slug":"wjjsxtyxsjny","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/wjjsxtyxsjny.html","title":{"rendered":"\u6587\u4ef6\u8ba1\u7b97\u7cfb\u7edf\u8fd0\u884c\u65f6\u95f4\uff082015\u5e744\u670814\u65e5\uff09"},"content":{"rendered":"

\u67e5\u770b\/proc\/uptime\u6587\u4ef6\u4f30\u7b97\u7cfb\u7edf<\/a>\u8fd0\u884c\u65f6\u95f4<\/p>\n

cat\/proc\/uptime|awk-F.'{run_days=$1\/86400;run_hour=($1%86400)\/3600;run_minute=($1%3600)\/60;run_second=$1%60;printf(\"\u7cfb\u7edf\u5df2\u8fd0\u884c\uff1a%d\u5929%d\u65f6%d\u5206%d\u79d2\",run_days,run_hour,run_minute,run_second)}'<\/p>\n

\u8f93\u51fa:\u7cfb\u7edf\u5df2\u8fd0\u884c\uff1a1\u59291\u65f636\u520613\u79d2<\/p>\n

Linux<\/a>\u67e5\u770b\u5316\u5b66CPU\u4e2a\u6570\u3001\u6838\u6570\u3001\u903b\u8f91CPU\u4e2a\u6570<\/p>\n

#\u603b\u6838\u6570=\u5316\u5b66CPU\u4e2a\u6570X\u6bcf\u9897\u5316\u5b66CPU\u7684\u6838\u6570<\/p>\n

#\u603b\u903b\u8f91CPU\u6570=\u5316\u5b66CPU\u4e2a\u6570X\u6bcf\u9897\u5316\u5b66CPU\u7684\u6838\u6570X\u8d85\u7ebf\u7a0b\u6570<\/p>\n

#\u67e5\u770b\u5316\u5b66CPU\u4e2a\u6570<\/p>\n

cat\/proc\/cpuinfo|grep\"physicalid\"|sort|uniq|wc-l<\/p>\n

2<\/p>\n

#\u67e5\u770b\u6bcf\u4f4d\u5316\u5b66CPU\u4e2dcore\u7684\u4e2a\u6570(\u5373\u6838\u6570)<\/p>\n

cat\/proc\/cpuinfo|grep\"cpucores\"|uniq<\/p>\n

cpucores:2<\/p>\n

#\u67e5\u770b\u903b\u8f91CPU\u7684\u4e2a\u6570<\/p>\n

cat\/proc\/cpuinfo|grep\"processor\"|wc-l<\/p>\n

#\u67e5\u770bCPU\u4fe1\u606f\uff08\u673a\u578b\uff09<\/p>\n

cat\/proc\/cpuinfo|grepname|cut-f2-d:|uniq-c<\/p>\n

4Intel(R)Core(TM)i5-6500CPU@3.20GHz<\/p>\n

\u8f93\u5165\u547d\u4ee4<\/a>cat\/proc\/cpuinfo\u67e5\u770bphysicalid\u6709\u51e0\u4e2a\u5c31\u6709\u51e0\u4e2a\u6570\u5b66cpu\uff1b\u67e5\u770bprocessor\u6709\u51e0\u4e2a\u5c31\u6709\u51e0\u4e2a\u903b\u8f91cpu\u3002<\/p>\n

(\u4e00)\u6982\u5ff5<\/p>\n

\u2460\u7269\u7406CPU<\/p>\n

\u5b9e\u9645Server\u4e2d\u63d2\u5b54\u4e0a\u7684CPU\u4e2a\u6570<\/p>\n

\u5316\u5b66cpu\u6570\u76ee\uff0c\u53ef\u4ee5\u6570\u4e0d\u91cd\u590d\u7684physicalid\u6709\u51e0\u4e2a<\/p>\n

\u2461\u903b\u8f91CPU<\/p>\n

\/proc\/cpuinfo\u62ff\u6765\u50a8\u5b58cpu\u786c\u4ef6\u4fe1\u606f\u7684<\/p>\n

\u4fe1\u606f\u5185\u5bb9\u5206\u522b\u5217\u4e3e\u4e86processor0\u2013processorn\u7684\u5c3a\u5bf8\u3002\u8fd9\u513f\u987b\u8981\u6ce8\u610flinux deepin\uff0cn+1\u662f\u903b\u8f91cpu\u6570<\/p>\n

\u901a\u5e38\u60c5\u51b5\uff0c\u6211\u4eec\u89c9\u5f97\u4e00\u9897cpu\u53ef\u4ee5\u6709\u591a\u6838\uff0c\u52a0\u4e0aintel\u7684\u8d85\u7ebf\u7a0b\u6280\u672f(HT),\u53ef\u4ee5\u5728\u903b\u8f91\u4e0a\u518d\u5206\u4e00\u500d\u6570\u76ee\u7684cpucore\u4e0b\u6765<\/p>\n

\u903b\u8f91CPU\u6570\u76ee=\u5316\u5b66cpu\u6570\u76eexcpucores\u8fd9\u4e2a\u5c3a\u5bf8\u503cx2(\u5047\u5982\u652f\u6301\u5e76\u5f00\u542fht)<\/p>\n

\u5907\u6ce8\u4e00\u4e0b\uff1aLinux\u4e0btop\u67e5\u770b\u7684CPU\u4e5f\u662f\u903b\u8f91CPU\u4e2a\u6570<\/p>\n

\u2462CPU\u6838\u6570<\/p>\n

\u4e00\u5757CPU\u91cc\u9762\u80fd\u5904\u7406\u6570\u636e\u7684\u82af\u7247\u7ec4\u7684\u6570\u76ee\u3001\u6bd4\u5982\u73b0\u4eca\u7684i5760,\u662f\u53cc\u6838\u5fc3\u56db\u7ebf\u7a0b\u7684CPU\u3001\u800ci52250\u662f\u56db\u6838\u5fc3\u56db\u7ebf\u7a0b\u7684CPU<\/p>\n

\u901a\u5e38\u6765\u8bf4\uff0c\u5316\u5b66CPU\u4e2a\u6570\u00d7\u6bcf\u9897\u6838\u6570\u5c31\u5e94\u5f53\u7b49\u4e8e\u903b\u8f91CPU\u7684\u4e2a\u6570\uff0c\u5018\u82e5\u4e0d\u76f8\u7b49\u7684\u8bdd\uff0c\u5219\u8868\u793a\u670d\u52a1\u5668\u7684CPU\u652f\u6301\u8d85\u7ebf\u7a0b\u6280\u672f<\/p>\n

lscpu\u547d\u4ee4\uff0c\u67e5\u770b\u7684\u662fcpu\u7684\u7edf\u8ba1\u4fe1\u606f<\/p>\n

\u663e\u5b58<\/p>\n

\u6982\u8981\u67e5\u770b\u663e\u5b58\u60c5\u51b5free-m\u8be6\u5c3d\u60c5\u51b5\uff1acat\/proc\/meminfo<\/p>\n

\u67e5\u770b\u786c\u789f\u548c\u5206\u533a\u5206\u5e03\uff1alsblk<\/p>\n

\u5047\u5982\u8981\u770b\u786c\u789f\u548c\u5206\u533a\u7684\u8be6\u5c3d\u4fe1\u606f\uff1afdisk-l<\/p>\n

\u4f7f\u7528\u201cdf-k\u201d\u547d\u4ee4\uff0c\u4ee5KB\u4e3a\u5355\u4f4d\u663e\u793ac\u76d8\u4f7f\u7528\u91cf\u548c\u5360\u7528\u7387\uff0c-m\u5219\u662f\u4ee5M\u4e3a\u5355\u4f4d\u663e\u793ac\u76d8\u4f7f\u7528\u91cf\u548c\u5360\u7528\u7387<\/p>\n

shell\u67e5\u770blinux\u7248\u672c\u4fe1\u606f_linux\u547d\u4ee4\u67e5\u770b\u7248\u672c\u4fe1\u606f_linux \u67e5\u770b\u7248\u672c\u4fe1\u606f<\/p>\n

\u7f51\u5361<\/p>\n

\u67e5\u770b\u7f51\u5361\u786c\u4ef6\u4fe1\u606f<\/p>\n

#lspci|grep-i'eth'<\/p>\n

02:00.0Ethernetcontroller:RealtekSemiconductorCo.,Ltd.RTL8111\/8168BPCIExpressGigabitEthernetcontroller(rev06)<\/p>\n

\u67e5\u770b\u7cfb\u7edf\u7684\u6240\u6709\u7f51\u8def\u63d2\u53e3\uff1aifconfig-a<\/p>\n

\u5047\u5982\u8981\u67e5\u770b\u67d0\u4e2a\u7f51\u8def\u63d2\u53e3\u7684\u8be6\u5c3d\u4fe1\u606f\uff0c\u6bd4\u5982eth0\u7684\u8be6\u5c3d\u53c2\u6570\u548c\u6307\u6807\uff1aethtooleth0<\/p>\n

\u67e5\u770bpci\u4fe1\u606f\uff0c\u5373\u663e\u5361\u6240\u6709\u786c\u4ef6\u69fd\u4fe1\u606f\uff1alspci<\/p>\n

\u5047\u5982\u8981\u66f4\u8be6\u5c3d\u7684\u4fe1\u606f:lspci-v\u6216\u5219lspci-vv<\/p>\n

\u5047\u5982\u8981\u770b\u8bbe\u5907\u6811:lspci-t<\/p>\n

Linux\/proc\u76ee\u5f55\u89e3\u8bfb<\/p>\n

1.\/proc\u76ee\u5f55<\/p>\n

Linux\u5185\u6838\u63d0\u4f9b\u4e86\u4e00\u79cd\u901a\u8fc7\/proc\u6587\u4ef6\u7cfb\u7edf\uff0c\u5728\u8fd0\u884c\u65f6\u8bbf\u95ee\u5185\u6838\u5185\u90e8\u6570\u636e\u7ed3\u6784\u3001\u6539\u53d8\u5185\u6838\u8bbe\u7f6e\u7684\u673a\u5236\u3002proc\u6587\u4ef6\u7cfb\u7edf\u662f\u4e00\u4e2a\u4f2a\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u53ea\u5b58\u5728\u663e\u5b58\u5f53\u4e2d\uff0c\u800c\u4e0d\u5360\u7528\u5916\u5b58\u7a7a\u95f4\u3002\u5b83\u4ee5\u6587\u4ef6\u7cfb\u7edf\u7684\u65b9\u6cd5\u4e3a\u8bbf\u95ee\u7cfb\u7edf\u5185\u6838\u6570\u636e\u7684\u64cd\u4f5c\u63d0\u4f9b\u63d2\u53e3\u3002<\/p>\n

\u7528\u6237\u548c\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7proc\u5f97\u5230\u7cfb\u7edf\u7684\u4fe1\u606f\uff0c\u5e76\u53ef\u4ee5\u6539\u53d8\u5185\u6838\u7684\u4e2a\u522b\u53c2\u6570\u3002\u56e0\u4e3a\u7cfb\u7edf\u7684\u4fe1\u606f\uff0c\u5982\u8fdb\u7a0b\uff0c\u662f\u52a8\u6001\u6539\u53d8\u7684\uff0c\u6240\u4ee5\u7528\u6237\u6216\u5e94\u7528\u7a0b\u5e8f\u8bfb\u53d6proc\u6587\u4ef6\u65f6\uff0cproc\u6587\u4ef6\u7cfb\u7edf\u662f\u52a8\u6001\u4ece\u7cfb\u7edf\u5185\u6838\u8bfb\u51fa\u6240\u9700\u4fe1\u606f\u5e76\u9012\u4ea4\u7684\u3002\u4e0b\u8fb9\u5217\u4e3e\u7684\u90a3\u4e9b\u6587\u4ef6\u6216\u5b50\u6587\u4ef6\u5939\uff0c\u5e76\u4e0d\u662f\u90fd\u662f\u5728\u4f60\u7684\u7cfb\u7edf\u4e2d\u5b58\u5728shell\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

shell\u67e5\u770blinux\u7248\u672c\u4fe1\u606f_linux\u547d\u4ee4\u67e5\u770b\u7248\u672c\u4fe1\u606f_linux \u67e5\u770b\u7248\u672c\u4fe1\u606f<\/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}]}}