{"id":6152,"date":"2019-12-30T22:03:03","date_gmt":"2019-12-30T14:03:03","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6152"},"modified":"2020-01-11T23:28:46","modified_gmt":"2020-01-11T15:28:46","slug":"lshw","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lshw","title":{"rendered":"lshw\u547d\u4ee4 – \u67e5\u770b\u786c\u4ef6\u4fe1\u606f"},"content":{"rendered":"\n

lshw\u662f\u4e00\u4e2a\u80fd\u628a\u6211\u4eec\u663e\u793a\u786c\u4ef6\u4fe1\u606f\u7684\u5c0f\u5de5\u5177\uff0c\u5b83\u80fd\u4e3a\u6211\u4eec\u63d0\u4f9b\u5185\u5b58\u914d\u7f6e\u3001\u56fa\u4ef6\u7248\u672c\u3001\u4e3b\u677f\u914d\u7f6e\u4fe1\u606f\u3001CPU\u7248\u672c\u548c\u901f\u5ea6\u3001cache\u4fe1\u606f\u3001\u603b\u7ebf\u901f\u5ea6\u7b49\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong> <\/p>\n\n\n\n

-short<\/td>\u663e\u793a\u8bbe\u5907\u5217\u8868\uff0c\u8f93\u51fa\u5305\u62ec\u8bbe\u5907\u8def\u5f84(path)\u3001\u7c7b\u522b(class)\u4ee5\u53ca\u7b80\u5355\u63cf\u8ff0<\/td><\/tr>
-businfo<\/td>\u663e\u793a\u8bbe\u5907\u5217\u8868\uff0c\u8f93\u51fa\u5305\u62ec\u603b\u7ebf\u4fe1\u606f\u3001SCSI\u3001USB\u3001IDE\u3001PCI\u5730\u5740\u7b49<\/td><\/tr>
-C memory<\/td>\u663e\u793a\u5185\u5b58\u76f8\u5173\u7684\u786c\u4ef6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u663e\u793a\u8bbe\u5907\u5217\u8868\uff0c\u8f93\u51fa\u5305\u62ec\u8bbe\u5907\u8def\u5f84(path)\u3001\u7c7b\u522b(class)\u4ee5\u53ca\u7b80\u5355\u63cf\u8ff0\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lshw -short<\/pre>\n\n\n\n

\u663e\u793a\u8bbe\u5907\u5217\u8868\uff0c\u8f93\u51fa\u5305\u62ec\u603b\u7ebf\u4fe1\u606f\u3001SCSI\u3001USB\u3001IDE\u3001PCI\u5730\u5740\u7b49\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lshw -businfo <\/pre>\n\n\n\n

\u663e\u793a\u5185\u5b58\u76f8\u5173\u7684\u786c\u4ef6\uff1a<\/p>\n\n\n\n

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

lshw\u662f\u4e00\u4e2a\u80fd\u628a\u6211\u4eec\u663e\u793a\u786c\u4ef6\u4fe1\u606f\u7684\u5c0f\u5de5\u5177\uff0c\u5b83\u80fd\u4e3a\u6211\u4eec\u63d0\u4f9b\u5185\u5b58\u914d\u7f6e\u3001\u56fa\u4ef6\u7248\u672c\u3001\u4e3b\u677f\u914d\u7f6e\u4fe1\u606f\u3001CPU\u7248\u672c\u548c\u901f\u5ea6\u3001 […]<\/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\/6152"}],"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=6152"}],"version-history":[{"count":11,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6152\/revisions"}],"predecessor-version":[{"id":6410,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6152\/revisions\/6410"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}