{"id":2433,"date":"2019-05-27T00:07:38","date_gmt":"2019-05-26T16:07:38","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2433"},"modified":"2019-05-27T00:07:39","modified_gmt":"2019-05-26T16:07:39","slug":"swapoff","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/swapoff","title":{"rendered":"swapoff\u547d\u4ee4 – \u5173\u95ed\u7cfb\u7edf\u4ea4\u6362\u533a"},"content":{"rendered":"\n

swapoff\u5b9e\u9645\u4e0a\u4e3aswapon\u7684\u7b26\u53f7\u8fde\u63a5\uff0c\u53ef\u7528\u6765\u5173\u95ed\u7cfb\u7edf\u7684\u4ea4\u6362\u533a<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>swapoff [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a  <\/td>\u5c06\/etc\/fstab\u6587\u4ef6\u4e2d\u6240\u6709\u8bbe\u7f6e\u4e3aswap\u7684\u8bbe\u5907\u5173\u95ed <\/td><\/tr>
-h <\/td>\u5e2e\u52a9\u4fe1\u606f <\/td><\/tr>
-V <\/td>\u7248\u672c\u4fe1\u606f <\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5173\u95ed\u4ea4\u6362\u5206\u533a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# swapoff \/dev\/sda2<\/pre>\n","protected":false},"excerpt":{"rendered":"

swapoff\u5b9e\u9645\u4e0a\u4e3aswapon\u7684\u7b26\u53f7\u8fde\u63a5\uff0c\u53ef\u7528\u6765\u5173\u95ed\u7cfb\u7edf\u7684\u4ea4\u6362\u533a \u8bed\u6cd5\u683c\u5f0f\uff1aswapoff [\u53c2\u6570] \u5e38\u7528 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2433"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=2433"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2433\/revisions"}],"predecessor-version":[{"id":2667,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2433\/revisions\/2667"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}