{"id":7799,"date":"2023-01-11T07:05:17","date_gmt":"2023-01-10T22:05:17","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=7799"},"modified":"2023-09-14T12:38:48","modified_gmt":"2023-09-14T03:38:48","slug":"linux%e3%81%a7%e3%83%a1%e3%83%a2%e3%83%aa%e3%81%ae%e8%a9%b3%e7%b4%b0%e6%83%85%e5%a0%b1%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/7799","title":{"rendered":"Linux\u3067\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u72b6\u6cc1\u306e\u8a73\u7d30\u306a\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01\uff08\/proc\/meminfo\uff0flsmem -a\uff09"},"content":{"rendered":"<p>Linux\u3067\u30e1\u30e2\u30ea\u306e\u8a73\u7d30\u306a\u4f7f\u7528\u72b6\u6cc1\u3084\u7269\u7406\u30e1\u30e2\u30ea\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u72b6\u6cc1\u306e\u8a73\u7d30\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01\uff08cat \/proc\/meminfo\uff09<\/h2>\n<p>\/proc\/meminfo\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u3066\u3001\u30e1\u30e2\u30ea\u306e\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ cat \/proc\/meminfo\r\nMemTotal:       32667724 kB\r\nMemFree:        27025300 kB\r\nMemAvailable:   28896964 kB\r\nBuffers:          173960 kB\r\nCached:          2763188 kB\r\nSwapCached:            0 kB\r\nActive:           843728 kB\r\nInactive:        3338780 kB\r\nActive(anon):       5096 kB\r\nInactive(anon):  2056136 kB\r\nActive(file):     838632 kB\r\nInactive(file):  1282644 kB\r\nUnevictable:      731028 kB\r\nMlocked:           12716 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2097148 kB\r\nDirty:                40 kB\r\nWriteback:             0 kB\r\nAnonPages:       1976396 kB\r\nMapped:           706044 kB\r\nShmem:            816752 kB\r\nKReclaimable:     219492 kB\r\nSlab:             388584 kB\r\nSReclaimable:     219492 kB\r\nSUnreclaim:       169092 kB\r\nKernelStack:       19280 kB\r\nPageTables:        33380 kB\r\nNFS_Unstable:          0 kB\r\nBounce:                0 kB\r\nWritebackTmp:          0 kB\r\nCommitLimit:    18431008 kB\r\nCommitted_AS:    7816200 kB\r\nVmallocTotal:   34359738367 kB\r\nVmallocUsed:       51748 kB\r\nVmallocChunk:          0 kB\r\nPercpu:             9984 kB\r\nHardwareCorrupted:     0 kB\r\nAnonHugePages:         0 kB\r\nShmemHugePages:        0 kB\r\nShmemPmdMapped:        0 kB\r\nFileHugePages:         0 kB\r\nFilePmdMapped:         0 kB\r\nHugePages_Total:       0\r\nHugePages_Free:        0\r\nHugePages_Rsvd:        0\r\nHugePages_Surp:        0\r\nHugepagesize:       2048 kB\r\nHugetlb:               0 kB\r\nDirectMap4k:      374624 kB\r\nDirectMap2M:     8855552 kB\r\nDirectMap1G:    25165824 kB\r\n<\/pre>\n<h2>\u7269\u7406\u30e1\u30e2\u30ea\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\uff01\uff08lsmem -a\uff09<\/h2>\n<p>lsmem\u30b3\u30de\u30f3\u30c9\u3067\u7269\u7406\u30e1\u30e2\u30ea\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ lsmem\r\nRANGE                                 SIZE  STATE REMOVABLE BLOCK\r\n0x0000000000000000-0x000000007fffffff   2G online       yes  0-15\r\n\r\nMemory block size:       128M\r\nTotal online memory:       2G\r\nTotal offline memory:      0B\r\n&#x5B;usradmin@vmsans01 ~]$ lsmem -a\r\nRANGE                                  SIZE  STATE REMOVABLE BLOCK\r\n0x0000000000000000-0x0000000007ffffff  128M online       yes     0\r\n0x0000000008000000-0x000000000fffffff  128M online       yes     1\r\n0x0000000010000000-0x0000000017ffffff  128M online       yes     2\r\n0x0000000018000000-0x000000001fffffff  128M online       yes     3\r\n0x0000000020000000-0x0000000027ffffff  128M online       yes     4\r\n0x0000000028000000-0x000000002fffffff  128M online       yes     5\r\n0x0000000030000000-0x0000000037ffffff  128M online       yes     6\r\n0x0000000038000000-0x000000003fffffff  128M online       yes     7\r\n0x0000000040000000-0x0000000047ffffff  128M online       yes     8\r\n0x0000000048000000-0x000000004fffffff  128M online       yes     9\r\n0x0000000050000000-0x0000000057ffffff  128M online       yes    10\r\n0x0000000058000000-0x000000005fffffff  128M online       yes    11\r\n0x0000000060000000-0x0000000067ffffff  128M online       yes    12\r\n0x0000000068000000-0x000000006fffffff  128M online       yes    13\r\n0x0000000070000000-0x0000000077ffffff  128M online       yes    14\r\n0x0000000078000000-0x000000007fffffff  128M online       yes    15\r\n\r\nMemory block size:       128M\r\nTotal online memory:       2G\r\nTotal offline memory:      0B\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u30e1\u30e2\u30ea\u306e\u8a73\u7d30\u306a\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001\/proc\/meminfo\u306e\u5185\u5bb9\u3092\u8868\u793a\u3057\u307e\u3059\u3002meminfo\u306b\u306f\u3001\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u72b6\u6cc1\u306e\u60c5\u5831\u3082\u591a\u3005\u3001\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002lsmem\u30b3\u30de\u30f3\u30c9\u306f\u3001\u7269\u7406\u30e1\u30e2\u30ea\u306e\u307f\u306e\u72b6\u614b\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/8868\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01<\/div><div class=\"substr\">Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H5qkUu\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51ZPkoBGdZL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u30e1\u30e2\u30ea\u306e\u8a73\u7d30\u306a\u4f7f\u7528\u72b6\u6cc1\u3084\u7269\u7406\u30e1\u30e2\u30ea\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[192],"tags":[282,25],"class_list":["post-7799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-configurations","tag-linux","tag-25"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=7799"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7799\/revisions"}],"predecessor-version":[{"id":15093,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7799\/revisions\/15093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=7799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=7799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=7799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}