{"id":283,"date":"2023-02-24T21:45:01","date_gmt":"2023-02-24T13:45:01","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=283"},"modified":"2023-04-30T15:13:30","modified_gmt":"2023-04-30T07:13:30","slug":"redhat-and-centos-system-information-query","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/24\/redhat-and-centos-system-information-query\/","title":{"rendered":"RedHat\u4e0eCentOS\u7cfb\u7edf\u4fe1\u606f\u67e5\u8be2"},"content":{"rendered":"<p>RedHat\/CentOS\u7cfb\u7edf\u4fe1\u606f\u67e5\u8be2<\/p>\n<p><!-- more --><\/p>\n<pre><code class=\"language-shell\"># cat \/proc\/version \nLinux version 3.10.0-693.2.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Sep 12 22:26:13 UTC 2017\n# uname -a\nLinux izbp173padvrcc9jtbmtz2z 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU\/Linux\n# uname -r\n3.10.0-693.2.2.el7.x86_64\n# lsb_release -a\nLSB Version:    :core-4.1-amd64:core-4.1-noarch\nDistributor ID: CentOS\nDescription:    CentOS Linux release 7.4.1708 (Core) \nRelease:    7.4.1708\nCodename:   Core\n# cat \/etc\/redhat-release \nCentOS Linux release 7.4.1708 (Core) \n# df -hT  \/\/\u78c1\u76d8\u5206\u533a\nFilesystem     Type      Size  Used Avail Use% Mounted on\n\/dev\/vda1      ext4       40G  1.5G   36G   4% \/\ndevtmpfs       devtmpfs  911M     0  911M   0% \/dev\ntmpfs          tmpfs     920M     0  920M   0% \/dev\/shm\ntmpfs          tmpfs     920M  308K  920M   1% \/run\ntmpfs          tmpfs     920M     0  920M   0% \/sys\/fs\/cgroup\ntmpfs          tmpfs     184M     0  184M   0% \/run\/user\/0\n# free -m  \/\/\u5185\u5b58\n              total        used        free      shared  buff\/cache   available\nMem:           1839          58        1284           0         496        1627\nSwap:             0           0           0<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>RedHat\/CentOS\u7cfb\u7edf\u4fe1\u606f\u67e5\u8be2 # cat \/proc\/version Linux version 3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-devops-base"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}