{"id":4328,"date":"2019-07-27T00:20:32","date_gmt":"2019-07-26T16:20:32","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4328"},"modified":"2019-07-28T01:40:42","modified_gmt":"2019-07-27T17:40:42","slug":"lscpu","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lscpu","title":{"rendered":"lscpu\u547d\u4ee4 – \u663e\u793aCPU\u67b6\u6784\u7684\u6709\u5173\u4fe1\u606f"},"content":{"rendered":"\n

lscpu\u547d\u4ee4\u4ecesysfs\u548c\/proc\/cpuinfo\u6536\u96c6cpu\u4f53\u7cfb\u7ed3\u6784\u4fe1\u606f\uff0c\u547d\u4ee4\u7684\u8f93\u51fa\u6bd4\u8f83\u6613\u8bfb\uff0c\u547d\u4ee4\u8f93\u51fa\u7684\u4fe1\u606f\u5305\u542bcpu\u6570\u91cf\uff0c\u7ebf\u7a0b\uff0c\u6838\u6570\uff0c\u5957\u63a5\u5b57\u7b49\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u6253\u5370\u5728\u7ebf\u548c\u79bb\u7ebf\u7684CPU<\/td><\/tr>
-b<\/td>\u4ec5\u6253\u5370\u5728\u7ebfCPU<\/td><\/tr>
-c<\/td>\u4ec5\u6253\u5370\u79bb\u7ebfCPU<\/td><\/tr>
-h<\/td>\u6253\u5370\u5e2e\u52a9\u5e76\u9000\u51fa<\/td><\/tr>
-V<\/td>\u6253\u5370\u5f53\u524d\u7248\u672c\u53f7<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u663e\u793a\u6709\u5173CPU\u67b6\u6784\u7684\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lscpu\nArchitecture:          x86_64\n CPU op-mode(s):        32-bit, 64-bit\n Byte Order:            Little Endian<\/pre>\n","protected":false},"excerpt":{"rendered":"

lscpu\u547d\u4ee4\u4ecesysfs\u548c\/proc\/cpuinfo\u6536\u96c6cpu\u4f53\u7cfb\u7ed3\u6784\u4fe1\u606f\uff0c\u547d\u4ee4\u7684\u8f93\u51fa\u6bd4\u8f83\u6613\u8bfb\uff0c\u547d\u4ee4\u8f93\u51fa\u7684\u4fe1 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4328"}],"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=4328"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4328\/revisions"}],"predecessor-version":[{"id":4452,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4328\/revisions\/4452"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}