{"id":294815,"date":"2024-12-06T12:27:52","date_gmt":"2024-12-06T04:27:52","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtxrhzknhbb.html"},"modified":"2024-12-06T12:27:52","modified_gmt":"2024-12-06T04:27:52","slug":"lxtxrhzknhbb","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtxrhzknhbb.html","title":{"rendered":"Linux\u7cfb\u7edf\u4e0b\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c\u53ca\u8be6\u7ec6\u65b9\u6cd5\u6307\u5357"},"content":{"rendered":"

Linux<\/a>\u4e0b\u600e\u6837\u67e5\u770b\u5185\u6838\u7248\u672c\uff1f\u5f53\u4f60\u9886\u5230\u4e00\u53f0\u65b0\u7684\u7cfb\u7edf\u65f6\u8fd9\u4e2a\u65f6\u4faf\u9996\u5148\u8981\u5f04\u6e05\u695a\u5b83\u4eec\u4f7f\u7528\u54ea\u4e2a\u5185\u6838\u7248\u672c\u4ee5\u53ca\u76f8\u5173\u7684\u7cfb\u7edf\u4fe1\u606f\uff0c\u4f60\u80fd\u591f\u6b63\u786e\u5b8c\u6210\u540e\u7eed\u7684\u5de5\u4f5cLINUX \u5220\u9664\u76ee\u5f55\uff0c\u4e0b\u8fb9\u4e3a\u4f60\u4eec\u5206\u4eab\u4e00\u4e0bLinux<\/a>\u4e0b\u67e5\u770b\u5185\u6838\u7248\u672c\u5177\u4f53\u65b9\u5f0f\u3002<\/p>\n

\u4f7f\u7528uname\u547d\u4ee4<\/a>\u67e5\u770bLinux\u5185\u6838\u7248\u672c<\/p>\n

uname\u547d\u4ee4\u663e\u793a\u591a\u4e2a\u7cfb\u7edf\u4fe1\u606f\uff0c\u5305\u62ecLinux\u5185\u6838\u4f53\u7cfb\u7ed3\u6784linux\u5185\u6838\u591a\u5c11\u7248\u672c<\/strong>linux\u624b\u673a\u8f6f\u4ef6\uff0c\u540d\u79f0\u7248\u672c\u548c\u53d1\u884c\u7248\u3002<\/p>\n

\u8981\u627e\u51fa\u7cfb\u7edf\u4e0a\u6b63\u5728\u8fd0\u884c\u7684Linux\u5185\u6838\u7248\u672c\uff0c\u8bf7\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

\n

\u00a0uname\u00a0-srm<\/pre>\n<\/p>\n

\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n

\n

\u00a0Linux 3.10.0-957.12.2.el7.x86_64 x86_64\n\u00a03 - \u5185\u6838\u7248\u672c.\n\u00a010 - \u4e3b\u4fee\u8ba2\u7248\u672c.\n\u00a00-957 - \u6b21\u8981\u4fee\u8ba2\u7248\u672c.\n\u00a012 - \u8865\u4e01\u7248\u672c.<\/pre>\n<\/p>\n

\u4f7f\u7528hostnamectl\u547d\u4ee4\u67e5\u770b\u5185\u6838\u7248\u672c<\/p>\n

hostnamectl\u5b9e\u7528\u7a0b\u5e8f\u662fsystemd\u7684\u4e00\u90e8\u4efd\uff0c\u7528\u4e8e\u67e5\u8be2\u548c\u4fee\u6539\u7cfb\u7edf\u4e3b\u673a\u540d\u3002\u5b83\u8fd8\u663e\u793aLinux\u53d1\u884c\u7248\u548c\u5185\u6838\u7248\u672c\uff1a<\/p>\n

\n

\u00a0hostnamectl\n\u00a0Static hostname: CentOS7.linuxrumen.com\n\u00a0Icon name: computer-vm\n\u00a0Chassis: vm\n\u00a0Machine ID: 20c27040135a4d46b2d3d07180f37303\n\u00a0Boot ID: 2f495af0684e4adfb34f0366f2567460\n\u00a0Virtualization: vmware\n\u00a0Operating System: CentOS Linux 7 (Core)\n\u00a0CPE OS Name: cpe:\/o:centos:centos:7\n\u00a0Kernel: Linux 3.10.0-957.12.2.el7.x86_64\n\u00a0Architecture: x86-64<\/pre>\n<\/p>\n

\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u53ea\u663e\u793a\u5f53\u524d\u5185\u6838\u7248\u672c\uff1a<\/p>\n

\u5185\u6838\u7248\u672c\u662f\u4ec0\u4e48\u610f\u601d_\u5185\u6838\u7248\u672c\u591a\u5c11\u7b97\u597d\u624b\u673a_linux\u5185\u6838\u591a\u5c11\u7248\u672c<\/p>\n

\n

\u00a0hostnamectl\u00a0|\u00a0grep\u00a0-i\u00a0kernel<\/pre>\n<\/p>\n

\u901a\u8fc7\u67e5\u770b\/proc\/version\u6587\u4ef6\u786e\u8ba4\u5185\u6838\u7248\u672c<\/p>\n

\/proc\u76ee\u5f55\u5305\u542b\u865a\u62df\u6587\u4ef6linux\u5185\u6838\u591a\u5c11\u7248\u672c<\/strong>\uff0c\u5176\u4e2d\u5305\u542b\u6709\u5173\u7cfb\u7edf\u663e\u5b58\uff0cCPU\u5185\u6838\uff0c\u5df2\u5b89\u88c5\u6587\u4ef6\u7cfb\u7edf\u7b49\u7684\u4fe1\u606f\u3002\u6709\u5173\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7684\u4fe1\u606f\u50a8\u5b58\u5728\/proc\/version\u865a\u62df\u6587\u4ef6\u4e2d\u3002\u7ed3\u5408cat\u67e5\u770b\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n

\n

\u00a0cat\u00a0\/proc\/version<\/pre>\n<\/p>\n

\u8f93\u51fa\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n

\u5185\u6838\u7248\u672c\u662f\u4ec0\u4e48\u610f\u601d_\u5185\u6838\u7248\u672c\u591a\u5c11\u7b97\u597d\u624b\u673a_linux\u5185\u6838\u591a\u5c11\u7248\u672c<\/p>\n

\n

\u00a0Linux\u00a0version\u00a03.10.0-957.12.2.el7.x86_64\u00a0(mockbuild@kbuilder.bsys.centos.org)\u00a0(gcc\u00a0version\u00a04.8.5\u00a020150623\u00a0(Red\u00a0Hat\u00a04.8.5-36)\u00a0(GCC)\u00a0)\u00a01\u00a0SMP\u00a0Tue\u00a0May\u00a014\u00a021:24:32\u00a0UTC\u00a02019<\/pre>\n<\/p>\n

\u603b\u7ed3<\/p>\n

\u81f3\u6b64\u5173\u4e8eLinux\u4e0b\u67e5\u770b\u5185\u6838\u7248\u672c\u7684\u65b9\u5f0f\u5206\u4eab\u7ed3\u675f\uff0c\u4f60\u4eec\u5047\u5982\u5bf9Linux\u4e0b\u67e5\u770b\u5185\u6838\u7248\u672c\u7684\u65b9\u5f0f\u8fd8\u6709\u7591\u95ee\u53ef\u4ee5\u901a\u8fc7\u8bc4\u8bba\u533a\u5c06\u95ee\u9898\u9012\u4ea4\u7ed9\u6211\u4eec\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Linux\u4e0b\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c\uff1f\u4f7f\u7528uname\u547d\u4ee4\u67e5\u770bLinux\u5185\u6838\u7248\u672c\u8981\u627e\u51fa\u7cfb\u7edf\u4e0a\u6b63\u5728\u8fd0\u884c\u7684Linux\u5185\u6838\u7248\u672c\uff0c\u8bf7\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a\u4f7f\u7528hostnamectl\u547d\u4ee4\u67e5\u770b\u5185\u6838\u7248\u672c\u901a\u8fc7\u67e5\u770b\/proc\/version\u6587\u4ef6\u786e\u8ba4\u5185\u6838\u7248\u672c<\/p>\n","protected":false},"author":1,"featured_media":294816,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4720,109,3781,3162,3161],"class_list":["post-294815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-pml-5","tag-linux","tag-uml-5","tag-nhbb","tag-xtxx-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294815","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=294815"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294815\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294816"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}