{"id":14743,"date":"2023-09-02T16:10:16","date_gmt":"2023-09-02T07:10:16","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14743"},"modified":"2023-09-12T22:28:09","modified_gmt":"2023-09-12T13:28:09","slug":"linux%e3%81%a7%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%b3%e3%82%b0%e9%a0%98%e5%9f%9f%ef%bc%88swap%ef%bc%89%e3%82%92%e7%84%a1%e5%8a%b9%e5%8c%96%ef%bc%8f%e6%9c%89%e5%8a%b9%e5%8c%96%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14743","title":{"rendered":"Linux\u3067\u30da\u30fc\u30b8\u30f3\u30b0\u9818\u57df\uff08Swap\uff09\u3092\u7121\u52b9\u5316\uff0f\u6709\u52b9\u5316\u3059\u308b\uff01"},"content":{"rendered":"<p>Linux\u3067\u30da\u30fc\u30b8\u30f3\u30b0\u9818\u57df\uff08Swap\uff09\u3092\u7121\u52b9\u5316\u304a\u3088\u3073\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30da\u30fc\u30b8\u30f3\u30b0\u9818\u57df\u306e\u4f7f\u7528\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u4eee\u60f3\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# free\r\n               total        used        free      shared  buff\/cache   available\r\nMem:        16352832    10210264     2950376      100128     3192192     5748464\r\nSwap:        3821564      933356     2888208\r\n<\/pre>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# swapon -s\r\nFilename\t\t\t\tType\t\tSize\t\tUsed\t\tPriority\r\n\/dev\/dm-1                               partition\t3821564\t\t933100\t\t-2\r\n<\/pre>\n<h2>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u3092\u7121\u52b9\u5316\u3059\u308b\uff01<\/h2>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# swapoff -a\r\n<\/pre>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u304c\u7121\u52b9\u5316\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# swapon -s\r\n<\/pre>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# free\r\n               total        used        free      shared  buff\/cache   available\r\nMem:        16352832    10707996     2106852      153072     3537984     5197200\r\nSwap:              0           0           0\r\n<\/pre>\n<h2>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u3092\u6709\u52b9\u5316\u3059\u308b\uff01<\/h2>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# swapon -a\r\n<\/pre>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30da\u30fc\u30b9\u304c\u6709\u52b9\u5316\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# swapon -s\r\nFilename\t\t\t\tType\t\tSize\t\tUsed\t\tPriority\r\n\/dev\/dm-1                               partition\t3821564\t\t0\t\t-2\r\n<\/pre>\n<p>\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u304c\u4f7f\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u4f7f\u7528\u7387\u306f\u3001\u300c0\u300d\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# free\r\n               total        used        free      shared  buff\/cache   available\r\nMem:        16352832    10688380     2125132      153072     3539320     5216816\r\nSwap:        3821564           0     3821564\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Linux\u306e\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u306e\u7121\u52b9\u5316\u3068\u6709\u52b9\u5316\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u306e\u7121\u52b9\u5316\u3068\u6709\u52b9\u5316\u3092\u884c\u3046\u3068\u3001\u4e00\u5ea6\u4f7f\u7528\u3057\u305f\u30da\u30fc\u30b8\u30f3\u30b0\u30b9\u30da\u30fc\u30b9\u306e\u9818\u57df\u3092\u958b\u653e\u3059\u308b\u3053\u3068\u3082\u3067\u304d\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\/14749\" ><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\u30e1\u30e2\u30ea\u9818\u57df\u306e\u7ba1\u7406\u3092\u884c\u3046\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\u30e1\u30e2\u30ea\u9818\u57df\u306e\u7ba1\u7406\u3092\u884c\u3046\uff01<\/div><div class=\"substr\">Linux\u3067\u30e1\u30e2\u30ea\u9818\u57df\u306e\u7ba1\u7406\u3092\u884c\u3046\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u30da\u30fc\u30b8\u30f3\u30b0\u9818\u57df\uff08Swap\uff09\u3092\u7121\u52b9\u5316\u304a\u3088\u3073\u6709\u52b9\u5316\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":[1011],"tags":[282,1010,1009,1008],"class_list":["post-14743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-memory","tag-linux","tag-swap","tag-1009","tag-1008"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14743","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=14743"}],"version-history":[{"count":7,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14743\/revisions"}],"predecessor-version":[{"id":15039,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14743\/revisions\/15039"}],"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=14743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}