{"id":116655,"date":"2018-08-28T08:59:17","date_gmt":"2018-08-28T00:59:17","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=116655"},"modified":"2018-08-23T14:01:53","modified_gmt":"2018-08-23T06:01:53","slug":"manufacturer-model-serialnumber","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/manufacturer-model-serialnumber.html","title":{"rendered":"\u5728Linux\u4e2d\u5e94\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u786c\u4ef6\u5236\u9020\u5546\u3001\u578b\u53f7\u548c\u5e8f\u5217\u53f7"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5bf9\u4e8e Linux \u56fe\u5f62\u754c\u9762\u7528\u6237\u548c Windows \u7528\u6237\u6765\u8bf4\u83b7\u53d6\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u90fd\u4e0d\u7b97\u95ee\u9898\uff0c\u4f46\u662f\u5bf9\u547d\u4ee4\u884c\u7528\u6237\u6765\u8bf4\u60f3\u8981\u83b7\u53d6\u8fd9\u4e9b\u7ec6\u8282\u65f6\u6709\u70b9\u513f\u9ebb\u70e6\u3002
\n\u751a\u81f3\u6211\u4eec\u4e2d\u7684\u5927\u591a\u6570\u90fd\u4e0d\u77e5\u9053\u83b7\u53d6\u8fd9\u4e9b\u4fe1\u606f\u6700\u597d\u7684\u547d\u4ee4\u662f\u4ec0\u4e48\u3002Linux \u4e2d\u6709\u8bb8\u591a\u53ef\u7528\u7684\u5de5\u5177\u96c6\u6765\u83b7\u53d6\u8bf8\u5982\u5236\u9020\u5546\u3001\u578b\u53f7\u548c\u5e8f\u5217\u53f7\u7b49\u786c\u4ef6\u4fe1\u606f\u3002
\n\u5728\u8fd9\u91cc\u6211\u5c1d\u8bd5\u5199\u4e0b\u83b7\u53d6\u8fd9\u4e9b\u7ec6\u8282\u7684\u53ef\u80fd\u7684\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u6311\u9009\u4e00\u79cd\u6700\u597d\u7528\u7684\u3002
\n\u4f60\u5fc5\u987b\u77e5\u9053\u6240\u6709\u8fd9\u4e9b\u4fe1\u606f\uff0c\u56e0\u4e3a\u5f53\u4f60\u5411\u786c\u4ef6\u5236\u9020\u5546\u63d0\u4ea4\u4efb\u4f55\u786c\u4ef6\u95ee\u9898\u65f6\uff0c\u4f60\u4f1a\u9700\u8981\u5b83\u4eec\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"
\n\u8fd9\u53ef\u4ee5\u901a\u8fc7 6 \u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\uff0c\u4e0b\u9762\u6211\u6765\u6f14\u793a\u4e00\u4e0b\u600e\u4e48\u505a\u3002<\/p>\n

\u65b9\u6cd5\u4e00\uff1a\u4f7f\u7528 dmidecode \u547d\u4ee4<\/strong><\/div>\n

dmidecode \u662f\u4e00\u4e2a\u8bfb\u53d6\u7535\u8111 DMI\uff08\u684c\u9762\u7ba1\u7406\u63a5\u53e3<\/p>\n

Desktop Management Interface<\/p>\n

\uff09\u8868\u5185\u5bb9\u5e76\u4e14\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u7684\u683c\u5f0f\u663e\u793a\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u7684\u5de5\u5177\u3002\uff08\u4e5f\u6709\u4eba\u8bf4\u662f\u8bfb\u53d6 SMBIOS \u2014\u2014 \u7cfb\u7edf\u7ba1\u7406 BIOS<\/p>\n

System Management BIOS<\/p>\n

\uff09<\/p>\n

\u8fd9\u4e2a\u8868\u5305\u542b\u7cfb\u7edf\u786c\u4ef6\u7ec4\u4ef6\u7684\u8bf4\u660e\uff0c\u4e5f\u5305\u542b\u5982\u5e8f\u5217\u53f7\u3001\u5236\u9020\u5546\u3001\u53d1\u5e03\u65e5\u671f\u4ee5\u53ca BIOS \u4fee\u8ba2\u7248\u672c\u53f7\u7b49\u5176\u5b83\u6709\u7528\u7684\u4fe1\u606f\u3002<\/p>\n

DMI \u8868\u4e0d\u4ec5\u63cf\u8ff0\u4e86\u5f53\u524d\u7684\u7cfb\u7edf\u6784\u6210\uff0c\u8fd8\u53ef\u4ee5\u62a5\u544a\u53ef\u80fd\u7684\u5347\u7ea7\u4fe1\u606f\uff08\u6bd4\u5982\u53ef\u4ee5\u652f\u6301\u7684\u6700\u5feb\u7684 CPU \u6216\u8005\u6700\u5927\u7684\u5185\u5b58\u5bb9\u91cf\uff09\u3002<\/p>\n

\u8fd9\u5c06\u6709\u52a9\u4e8e\u5206\u6790\u4f60\u7684\u786c\u4ef6\u517c\u5bb9\u6027\uff0c\u6bd4\u5982\u662f\u5426\u652f\u6301\u6700\u65b0\u7248\u672c\u7684\u7a0b\u5e8f\u3002<\/p>\n

# dmidecode -t system\r\n# dmidecode 2.12\r\n# SMBIOS entry point at 0x7e7bf000\r\nSMBIOS 2.7 present.\r\nHandle 0x0024, DMI type 1, 27 bytes\r\nSystem Information\r\nManufacturer: IBM\r\nProduct Name: System x2530 M4: -[1214AC1]-\r\nVersion: 0B\r\nSerial Number: MK2RL11\r\nUUID: 762A99BF-6916-450F-80A6-B2E9E78FC9A1\r\nWake-up Type: Power Switch\r\nSKU Number: Not Specified\r\nFamily: System X\r\nHandle 0x004B, DMI type 12, 5 bytes\r\nSystem Configuration Options\r\nOption 1: JP20 pin1-2: TPM PP Disable, pin2-3: TPM PP Enable\r\nHandle 0x004D, DMI type 32, 20 bytes\r\nSystem Boot Information\r\nStatus: No errors detected<\/pre>\n
\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528 inxi \u547d\u4ee4<\/strong><\/div>\n

inxi \u662f Linux \u4e0a\u67e5\u770b\u786c\u4ef6\u4fe1\u606f\u7684\u4e00\u4e2a\u7075\u5de7\u7684\u5c0f\u5de5\u5177\uff0c\u5b83\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u9009\u9879\u6765\u83b7\u53d6\u6240\u6709\u786c\u4ef6\u4fe1\u606f\uff0c\u8fd9\u662f\u6211\u5728\u73b0\u6709\u7684\u5176\u5b83 Linux \u5de5\u5177\u96c6\u91cc\u6240\u6ca1\u89c1\u5230\u8fc7\u7684\u3002\u5b83\u662f\u4ece locsmif \u7f16\u5199\u7684\u53e4\u8001\u7684\u4f46\u81f3\u4eca\u770b\u6765\u90fd\u5f02\u5e38\u7075\u6d3b\u7684 infobash fork \u51fa\u6765\u7684\u3002<\/p>\n

inxi \u662f\u4e00\u4e2a\u53ef\u4ee5\u5feb\u901f\u663e\u793a\u7cfb\u7edf\u786c\u4ef6\u3001CPU\u3001\u9a71\u52a8\u3001Xorg\u3001\u684c\u9762\u3001\u5185\u6838\u3001GCC \u7248\u672c\u3001\u8fdb\u7a0b\u3001\u5185\u5b58\u4f7f\u7528\u4ee5\u53ca\u5927\u91cf\u5176\u5b83\u6709\u7528\u4fe1\u606f\u7684\u811a\u672c\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u505a\u6280\u672f\u652f\u6301\u548c\u8c03\u8bd5\u5de5\u5177\u3002<\/p>\n

# inxi -M\r\nMachine: Device: server System: IBM product: N\/A v: 0B serial: MK2RL11\r\nMobo: IBM model: 00Y8494 serial: 37M17D UEFI: IBM v: -[VVE134MUS-1.50]- date: 08\/30\/2013<\/pre>\n
\u65b9\u6cd5\u4e09\uff1a\u4f7f\u7528 lshw \u547d\u4ee4<\/strong><\/div>\n

lshw\uff08\u6307\u786c\u4ef6\u76d1\u542c\u5668<\/p>\n

Hardware Lister<\/p>\n

\uff09\u662f\u4e00\u4e2a\u5c0f\u5de7\u7075\u6d3b\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u751f\u6210\u5982\u5185\u5b58\u914d\u7f6e\u3001\u56fa\u4ef6\u7248\u672c\u3001\u4e3b\u677f\u914d\u7f6e\u3001CPU \u7248\u672c\u548c\u901f\u5ea6\u3001\u7f13\u5b58\u914d\u7f6e\u3001USB\u3001\u7f51\u5361\u3001\u663e\u5361\u3001\u591a\u5a92\u4f53\u3001\u6253\u5370\u673a\u4ee5\u53ca\u603b\u7ebf\u901f\u5ea6\u7b49\u673a\u5668\u4e2d\u5404\u79cd\u786c\u4ef6\u7ec4\u4ef6\u7684\u8be6\u7ec6\u62a5\u544a\u3002<\/p>\n

\u5b83\u901a\u8fc7\u8bfb\u53d6 \/proc \u76ee\u5f55\u4e0b\u5404\u79cd\u6587\u4ef6\u7684\u5185\u5bb9\u548c DMI \u8868\u6765\u751f\u6210\u786c\u4ef6\u4fe1\u606f\u3002<\/p>\n

lshw \u5fc5\u987b\u4ee5\u8d85\u7ea7\u7528\u6237\u7684\u6743\u9650\u8fd0\u884c\u6765\u68c0\u6d4b\u5b8c\u6574\u7684\u786c\u4ef6\u4fe1\u606f\uff0c\u5426\u5219\u5b83\u53ea\u6c47\u62a5\u90e8\u5206\u4fe1\u606f\u3002lshw \u91cc\u6709\u4e00\u4e2a\u53eb\u505a class \u7684\u7279\u6b8a\u9009\u9879\uff0c\u5b83\u53ef\u4ee5\u4ee5\u8be6\u7ec6\u7684\u6a21\u5f0f\u663e\u793a\u7279\u5b9a\u7684\u786c\u4ef6\u4fe1\u606f\u3002<\/p>\n

# lshw -C system\r\nenal-dbo01t\r\ndescription: Blade\r\nproduct: System x2530 M4: -[1214AC1]-\r\nvendor: IBM\r\nversion: 0B\r\nserial: MK2RL11\r\nwidth: 64 bits\r\ncapabilities: smbios-2.7 dmi-2.7 vsyscall32\r\nconfiguration: boot=normal chassis=enclosure family=System X uuid=762A99BF-6916-450F-80A6-B2E9E78FC9A1<\/pre>\n
\u65b9\u6cd5\u56db\uff1a\u4f7f\u7528 \/sys \u6587\u4ef6\u7cfb\u7edf<\/strong><\/div>\n

\u5185\u6838\u5728 \/sys \u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u4e2d\u516c\u5f00\u4e86\u4e00\u4e9b DMI \u4fe1\u606f\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u65b9\u5f0f\u8fd0\u884c grep\u547d\u4ee4\u6765\u8f7b\u6613\u5730\u83b7\u53d6\u673a\u5668\u7c7b\u578b\u3002<\/p>\n

# grep \"\" \/sys\/class\/dmi\/id\/[pbs]*\r\n\u6216\u8005\uff0c\u53ef\u4ee5\u4f7f\u7528 cat \u547d\u4ee4\u4ec5\u6253\u5370\u51fa\u7279\u5b9a\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\r\n\r\n# cat \/sys\/class\/dmi\/id\/board_vendor\r\nIBM\r\n# cat \/sys\/class\/dmi\/id\/product_name\r\nSystem x2530 M4: -[1214AC1]-\r\n# cat \/sys\/class\/dmi\/id\/product_serial\r\nMK2RL11\r\n# cat \/sys\/class\/dmi\/id\/bios_version\r\n-[VVE134MUS-1.50]<\/pre>\n
\u65b9\u6cd5\u4e94\uff1a\u4f7f\u7528 dmesg \u547d\u4ee4<\/strong><\/div>\n

dmesg \u547d\u4ee4\u662f\u5728 Linux \u4e0a syslogd \u6216 klogd \u542f\u52a8\u524d\u7528\u6765\u8bb0\u5f55\u5185\u6838\u6d88\u606f\uff08\u542f\u52a8\u9636\u6bb5\u7684\u6d88\u606f\uff09\u7684\u3002\u5b83\u901a\u8fc7\u8bfb\u53d6\u5185\u6838\u7684\u73af\u5f62\u7f13\u51b2\u533a\u6765\u83b7\u53d6\u6570\u636e\u3002\u5728\u6392\u67e5\u95ee\u9898\u6216\u53ea\u662f\u5c1d\u8bd5\u83b7\u53d6\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u65f6\uff0cdmesg \u975e\u5e38\u6709\u7528\u3002<\/p>\n

# dmesg | grep -i DMI\r\nDMI: System x2530 M4: -[1214AC1]-\/00Y8494, BIOS -[VVE134MUS-1.50]- 08\/30\/2013<\/pre>\n
\u65b9\u6cd5\u516d\uff1a\u4f7f\u7528 hwinfo \u547d\u4ee4<\/strong><\/div>\n

hwinfo\uff08\u786c\u4ef6\u4fe1\u606f<\/p>\n

hardware information<\/p>\n

\uff09\u662f\u53e6\u4e00\u4e2a\u5f88\u68d2\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u68c0\u6d4b\u5f53\u524d\u7cfb\u7edf\u5b58\u7684\u786c\u4ef6\uff0c\u5e76\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u7684\u65b9\u5f0f\u663e\u793a\u5404\u79cd\u786c\u4ef6\u6a21\u5757\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n

\u5b83\u62a5\u544a\u5173\u4e8e CPU\u3001\u5185\u5b58\u3001\u952e\u76d8\u3001\u9f20\u6807\u3001\u663e\u5361\u3001\u58f0\u5361\u3001\u5b58\u50a8\u3001\u7f51\u7edc\u63a5\u53e3\u3001\u78c1\u76d8\u3001\u5206\u533a\u3001BIOS \u4ee5\u53ca\u6865\u63a5\u5668\u7b49\u4fe1\u606f\u3002\u5b83\u53ef\u4ee5\u6bd4\u5176\u5b83\u50cf lshw\u3001dmidecode \u6216 inxi \u7b49\u5de5\u5177\u663e\u793a\u66f4\u4e3a\u8be6\u7ec6\u7684\u4fe1\u606f\u3002<\/p>\n

hwinfo \u4f7f\u7528 libhd \u5e93 libhd.so \u6765\u6536\u96c6\u7cfb\u7edf\u4e0a\u7684\u786c\u4ef6\u4fe1\u606f\u3002\u8be5\u5de5\u5177\u662f\u4e3a openSuse \u7279\u522b\u8bbe\u8ba1\u7684\uff0c\u540e\u6765\u5176\u5b83\u53d1\u884c\u7248\u4e5f\u5c06\u5b83\u5305\u542b\u5728\u5176\u5b98\u65b9\u4ed3\u5e93\u4e2d\u3002<\/p>\n

# hwinfo | egrep \"system.hardware.vendor|system.hardware.product\"\r\nsystem.hardware.vendor = 'IBM'\r\nsystem.hardware.product = 'System x2530 M4: -[1214AC1]-'<\/pre>\n
\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.toutiao.com\/i6591725739995824653\/<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1a https:\/\/lrxjmw.cn\/manufacturer-model-serialnumber.html <\/a>\u7f16\u8f91\uff1a\u738b\u5065\u8fbe\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u5bf9\u4e8e Linux \u56fe\u5f62\u754c\u9762\u7528\u6237\u548c Windows \u7528\u6237\u6765\u8bf4\u83b7\u53d6\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u90fd\u4e0d\u7b97\u95ee\u9898\uff0c\u4f46\u662f\u5bf9\u547d\u4ee4\u884c\u7528\u6237\u6765 […]<\/p>\n","protected":false},"author":1893,"featured_media":116657,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-116655","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/116655","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\/1893"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=116655"}],"version-history":[{"count":7,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/116655\/revisions"}],"predecessor-version":[{"id":116933,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/116655\/revisions\/116933"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/116657"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=116655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=116655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=116655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}