{"id":6303,"date":"2020-01-19T19:39:34","date_gmt":"2020-01-19T11:39:34","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6303"},"modified":"2020-05-23T21:29:59","modified_gmt":"2020-05-23T13:29:59","slug":"dmidecode","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/dmidecode","title":{"rendered":"dmidecode\u547d\u4ee4 – \u83b7\u53d6\u6709\u5173\u786c\u4ef6\u65b9\u9762\u7684\u4fe1\u606f"},"content":{"rendered":"\n

dmidecode\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u4ee5\u4e00\u79cd\u53ef\u8bfb\u7684\u65b9\u5f0f\u663e\u793a\u673a\u5668\u7684DMI(Desktop Management Interface)\u4fe1\u606f, \u5176\u8f93\u51fa\u7684\u4fe1\u606f\u5305\u62ec BIOS\u3001\u7cfb\u7edf\u3001\u4e3b\u677f\u3001\u5904\u7406\u5668\u3001\u5185\u5b58\u3001\u7f13\u5b58\u7b49\u7b49, \u65e2\u53ef\u4ee5\u5f97\u5230\u5f53\u524d\u7684\u914d\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u5f97\u5230\u7cfb\u7edf\u652f\u6301\u7684\u6700\u5927\u914d\u7f6e\uff0c\u6bd4\u5982\u8bf4\u652f\u6301\u7684\u6700\u5927\u5185\u5b58\u6570\u7b49\u3002<\/p>\n\n\n\n

DMI\u5c31\u662f\u5e2e\u52a9\u6536\u96c6\u7535\u8111\u7cfb\u7edf\u4fe1\u606f\u7684\u7ba1\u7406\u7cfb\u7edf\uff0cDMI\u4fe1\u606f\u7684\u6536\u96c6\u5fc5\u987b\u5728\u4e25\u683c\u9075\u7167SMBIOS\u89c4\u8303\u7684\u524d\u63d0\u4e0b\u8fdb\u884c\u3002DMI\u8bbe\u8ba1\u9002\u7528\u4e8e\u4efb\u4f55\u7684\u5e73\u53f0\u548c\u64cd\u4f5c\u7cfb\u7edf\u3002\u7531\u4e8eDMI\u4fe1\u606f\u53ef\u4ee5\u4eba\u4e3a\u4fee\u6539\uff0c\u56e0\u6b64\u91cc\u9762\u7684\u4fe1\u606f\u4e0d\u4e00\u5b9a\u662f\u7cfb\u7edf\u51c6\u786e\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f:<\/strong> dmidecode [\u53c2\u6570]<\/p>\n\n\n\n

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

-d<\/td>\u4ece\u8bbe\u5907\u6587\u4ef6\u8bfb\u53d6\u4fe1\u606f\uff0c\u8f93\u51fa\u5185\u5bb9\u4e0e\u4e0d\u52a0\u53c2\u6570\u6807\u51c6\u8f93\u51fa\u76f8\u540c<\/td><\/tr>
-h<\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr>
-s<\/td>\u53ea\u663e\u793a\u6307\u5b9aDMI\u5b57\u7b26\u4e32\u7684\u4fe1\u606f<\/td><\/tr>
-t<\/td>\u53ea\u663e\u793a\u6307\u5b9a\u6761\u76ee\u7684\u4fe1\u606f<\/td><\/tr>
-u<\/td>\u663e\u793a\u672a\u89e3\u7801\u7684\u539f\u59cb\u6761\u76ee\u5185\u5bb9<\/td><\/tr>
-- -dump-bin file<\/td>\u5c06DMI\u6570\u636e\u8f6c\u50a8\u5230\u4e00\u4e2a\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e2d<\/td><\/tr>
-- -from-dump FILE<\/td>\u4ece\u4e00\u4e2a\u4e8c\u8fdb\u5236\u6587\u4ef6\u8bfb\u53d6DMI\u6570\u636e<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u67e5\u770b\u670d\u52a1\u5668\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dmidecode -t 1<\/pre>\n\n\n\n

\u67e5\u770b\u7cfb\u7edf\u5e8f\u5217\u53f7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dmidecode -s system-serial-number<\/pre>\n\n\n\n

\u67e5\u770b\u5904\u7406\u5668\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dmidecode -t processor<\/pre>\n\n\n\n

\u663e\u793a\u672a\u89e3\u7801\u7684\u539f\u59cb\u6761\u76ee\u5185\u5bb9\uff1a<\/p>\n\n\n\n

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

dmidecode\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u4ee5\u4e00\u79cd\u53ef\u8bfb\u7684\u65b9\u5f0f\u663e\u793a\u673a\u5668\u7684DMI(Desktop Management Inte […]<\/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\/6303"}],"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=6303"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6303\/revisions"}],"predecessor-version":[{"id":7454,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6303\/revisions\/7454"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}