{"id":1334,"date":"2026-11-01T21:10:24","date_gmt":"2026-11-01T13:10:24","guid":{"rendered":"https:\/\/www.asaeo.com\/?p=1334"},"modified":"2026-11-01T21:10:24","modified_gmt":"2026-11-01T13:10:24","slug":"linux%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a890%e8%a6%81%e5%8d%87%e7%ba%a7%e5%90%97%ef%bc%9f%e5%85%88%e7%9c%8bavailable%e3%80%81swap%e5%92%8coom","status":"publish","type":"post","link":"https:\/\/www.asaeo.com\/?p=1334","title":{"rendered":"Linux\u5185\u5b58\u5360\u752890%\u8981\u5347\u7ea7\u5417\uff1f\u5148\u770bavailable\u3001swap\u548cOOM"},"content":{"rendered":"<div class=\"yd-practical-guide\" style=\"font-size:16px;line-height:1.9\">\n<p>\u670d\u52a1\u5668\u9762\u677f\u663e\u793a\u5185\u5b58\u5360\u752890%\uff0c\u7f51\u7ad9\u5374\u8fd0\u884c\u6b63\u5e38\uff0c\u8981\u4e0d\u8981\u9a6c\u4e0a\u52a0\u5185\u5b58\uff1f\u5148\u522b\u6025\u3002\u4e0d\u540c\u5de5\u5177\u5bf9\u201c\u5df2\u7528\u201d\u7684\u8ba1\u7b97\u53e3\u5f84\u53ef\u80fd\u4e0d\u540c\uff0c\u7f13\u5b58\u3001\u8fdb\u7a0b\u5360\u7528\u548c\u53ef\u7528\u5185\u5b58\u4e5f\u4e0d\u662f\u4e00\u56de\u4e8b\u3002\u771f\u6b63\u8981\u67e5\u7684\u662f\uff1a\u4e1a\u52a1\u662f\u5426\u53d7\u5f71\u54cd\uff0c\u538b\u529b\u662f\u5426\u6301\u7eed\uff0c\u8fdb\u7a0b\u6709\u6ca1\u6709\u56e0\u5185\u5b58\u4e0d\u8db3\u88ab\u7ec8\u6b62\u3002<\/p>\n<p><small>\u672c\u6587\u4f9d\u636eLinux\u5185\u6838\u3001procps-ng\u3001Red Hat\u4e0esystemd\u5b98\u65b9\u8d44\u6599\u6574\u7406\uff0c\u6838\u9a8c\u65e5\u671f\u4e3a2026\u5e7411\u67081\u65e5\u3002\u547d\u4ee4\u7528\u4e8e\u53ea\u8bfb\u6392\u67e5\uff0c\u622a\u56fe\u4e3a\u5b98\u65b9\u6587\u6863\u9875\u9762\uff0c\u4e0d\u662f\u67d0\u53f0\u5728\u552e\u670d\u52a1\u5668\u7684\u5b9e\u6d4b\u3002<\/small><\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">1. free\u5f88\u5c11\uff0c\u4e0d\u4ee3\u8868\u5df2\u7ecf\u6ca1\u6709\u53ef\u7528\u5185\u5b58<\/h2>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>free -h<\/code><\/pre>\n<p>\u5148\u770b<code>Mem:<\/code>\u8fd9\u4e00\u884c\u7684<code>available<\/code>\u3002\u5b83\u4f30\u7b97\u7684\u662f\u4e0d\u4f9d\u8d56\u4ea4\u6362\u3001\u8fd8\u80fd\u4f9b\u65b0\u5e94\u7528\u4f7f\u7528\u7684\u5185\u5b58\uff1b<code>free<\/code>\u53ea\u8868\u793a\u5f53\u524d\u672a\u4f7f\u7528\u7684\u90e8\u5206\u3002Linux\u4f1a\u628a\u90e8\u5206\u5185\u5b58\u7528\u4e8e\u6587\u4ef6\u7f13\u5b58\uff0c\u907f\u514d\u53cd\u590d\u8bfb\u78c1\u76d8\uff0c\u56e0\u6b64free\u5c0f\u3001buff\/cache\u5927\uff0c\u5e76\u4e0d\u80fd\u76f4\u63a5\u5224\u5b9a\u6545\u969c\u3002<\/p>\n<p>\u4f46\u4e5f\u522b\u8d70\u5230\u53e6\u4e00\u4e2a\u6781\u7aef\uff0c\u8ba4\u4e3a\u7f13\u5b58\u4e00\u5b9a\u80fd\u5168\u90e8\u91ca\u653e\u3002available\u5df2\u7ecf\u8003\u8651\u4e86\u90e8\u5206\u53ef\u56de\u6536\u5185\u5b58\u7684\u9650\u5236\uff0c\u5b83\u4ecd\u662f\u4f30\u7b97\uff0c\u4e0d\u662f\u7ed9\u5e94\u7528\u7684\u5bb9\u91cf\u627f\u8bfa\u3002\u65e7\u7248\u548c\u65b0\u7248\u5de5\u5177\u7684used\u8ba1\u7b97\u65b9\u5f0f\u6709\u5dee\u5f02\uff0c\u62ff\u4e24\u4e2a\u9762\u677f\u7684\u767e\u5206\u6bd4\u6bd4\u8f83\u524d\uff0c\u5e94\u5148\u6838\u5bf9\u7edf\u8ba1\u8bf4\u660e\u3002<\/p>\n<figure style=\"margin:26px 0\"><a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"815\" height=\"210\" class=\"aligncenter size-full wp-image-1325\" src=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101.jpg\" alt=\"Ubuntu free\u5b98\u65b9\u624b\u518c\uff1aavailable\u53ef\u7528\u5185\u5b58\u4f30\u7b97\" loading=\"lazy\" style=\"display:block;width:100%;height:auto;border:1px solid #e5eaf2;border-radius:8px\" srcset=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101.jpg 815w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101-300x77.jpg 300w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101-768x198.jpg 768w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><figcaption style=\"font-size:13px;line-height:1.7;color:#67758a;margin-top:9px\">Ubuntu\u6536\u5f55\u7684procps-ng free\u624b\u518c\uff1aavailable\u4f30\u7b97\u4e0d\u4f9d\u8d56\u4ea4\u6362\u3001\u8fd8\u80fd\u4f9b\u65b0\u5e94\u7528\u4f7f\u7528\u7684\u5185\u5b58\uff1b\u5b83\u4e0d\u662ffree\u5217\u7684\u7b80\u5355\u6539\u540d\u3002 <a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-available-20261101.jpg\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u622a\u56fe<\/a> \u00b7 <a href=\"https:\/\/manpages.ubuntu.com\/manpages\/noble\/man1\/free.1.html#available\" target=\"_blank\" rel=\"noopener\">\u5b98\u65b9\u539f\u6587<\/a><\/figcaption><\/figure>\n<p>\u5728\u4e1a\u52a1\u9ad8\u5cf0\u548c\u4f4e\u5cf0\u5404\u7559\u51e0\u6b21\u7ed3\u679c\uff0c\u8bb0\u5f55\u65f6\u95f4\u548c\u54cd\u5e94\u60c5\u51b5\uff0c\u6bd4\u4e00\u5f20\u77ac\u95f4\u622a\u56fe\u66f4\u6709\u7528\u3002\u6ca1\u6709\u7edf\u4e00\u7684\u201c\u4f4e\u4e8e\u591a\u5c11MB\u5c31\u5fc5\u987b\u5347\u7ea7\u201d\u95e8\u69db\uff1a\u6570\u636e\u5e93\u3001\u5927\u91cf\u5c0f\u8fdb\u7a0b\u548c\u77ed\u65f6\u6279\u5904\u7406\u7684\u5185\u5b58\u53d8\u5316\u4e0d\u540c\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">2. swap\u5df2\u7528\uff0c\u4e0d\u7b49\u4e8e\u6b64\u523b\u6b63\u5728\u9891\u7e41\u6362\u9875<\/h2>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>vmstat 1 5<\/code><\/pre>\n<p>\u8fd9\u6761\u547d\u4ee4\u6bcf\u79d2\u66f4\u65b0\u4e00\u6b21\uff0c\u5171\u8f93\u51fa5\u6b21\u3002<strong>\u9996\u884c\u7684\u901f\u7387\u7c7b\u7edf\u8ba1\u901a\u5e38\u662f\u5f00\u673a\u4ee5\u6765\u7684\u5e73\u5747\u503c\uff0c\u540e\u7eed\u624d\u5bf9\u5e94\u91c7\u6837\u95f4\u9694\uff1b\u8fdb\u7a0b\u4e0e\u5185\u5b58\u5217\u5728\u9996\u884c\u4e5f\u4ecd\u662f\u5373\u65f6\u503c\u3002<\/strong>\u4e0d\u8981\u628a\u9996\u884c\u6240\u6709\u6570\u5b57\u90fd\u5f53\u6210\u521a\u521a\u4e00\u79d2\u53d1\u751f\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u91cd\u70b9\u533a\u5206<code>swpd<\/code>\u4e0e<code>si\/so<\/code>\uff1a\u524d\u8005\u662f\u5df2\u7ecf\u4f7f\u7528\u7684\u4ea4\u6362\u7a7a\u95f4\uff0c\u540e\u4e24\u8005\u662f\u6bcf\u79d2\u4ece\u4ea4\u6362\u533a\u8bfb\u5165\u3001\u5411\u4ea4\u6362\u533a\u5199\u51fa\u7684\u91cf\u3002swap\u91cc\u6709\u65e7\u6570\u636e\uff0c\u4e0d\u4ee3\u8868\u5f53\u524d\u4e00\u76f4\u5728\u8bfb\u5199\u4ea4\u6362\u533a\u3002<\/p>\n<p>\u5982\u679cavailable\u6301\u7eed\u504f\u4f4e\uff0c\u540e\u7eed\u591a\u884csi\/so\u4ecd\u6709\u660e\u663e\u6d3b\u52a8\uff0c\u540c\u65f6\u63a5\u53e3\u54cd\u5e94\u53d8\u6162\uff0c\u624d\u66f4\u503c\u5f97\u6cbf\u5185\u5b58\u538b\u529b\u65b9\u5411\u67e5\u3002\u53ea\u770b\u5230\u4e00\u6b21\u975e\u96f6\u3001\u6216\u8005\u4e00\u6b21\u4e94\u79d2\u91c7\u6837\u5168\u662f\u96f6\uff0c\u90fd\u4e0d\u8db3\u4ee5\u89e3\u91ca\u5168\u5929\u7684\u6545\u969c\u3002\u5e94\u5728\u5f02\u5e38\u53d1\u751f\u65f6\u518d\u91c7\u6837\uff0c\u5e76\u7ed3\u5408\u4e1a\u52a1\u5ef6\u8fdf\u5224\u65ad\u3002<\/p>\n<figure style=\"margin:26px 0\"><a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"815\" height=\"431\" class=\"aligncenter size-full wp-image-1326\" src=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101.jpg\" alt=\"Ubuntu vmstat\u5b98\u65b9\u624b\u518c\uff1aswpd\u4e0esi\u3001so\u533a\u522b\" loading=\"lazy\" style=\"display:block;width:100%;height:auto;border:1px solid #e5eaf2;border-radius:8px\" srcset=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101.jpg 815w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101-300x159.jpg 300w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101-768x406.jpg 768w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><figcaption style=\"font-size:13px;line-height:1.7;color:#67758a;margin-top:9px\">Ubuntu\u6536\u5f55\u7684procps-ng vmstat\u624b\u518c\uff1aswpd\u662f\u5df2\u7528\u4ea4\u6362\u7a7a\u95f4\uff0csi\/so\u662f\u6bcf\u79d2\u6362\u5165\u3001\u6362\u51fa\u6d3b\u52a8\uff0c\u4e0d\u80fd\u6df7\u4e3a\u4e00\u8c08\u3002 <a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-memory-swap-20261101.jpg\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u622a\u56fe<\/a> \u00b7 <a href=\"https:\/\/manpages.ubuntu.com\/manpages\/noble\/man8\/vmstat.8.html#Memory\" target=\"_blank\" rel=\"noopener\">\u5b98\u65b9\u539f\u6587<\/a><\/figcaption><\/figure>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">3. \u7a0b\u5e8f\u7a81\u7136\u6d88\u5931\uff0c\u67e5\u5f53\u65f6\u7684OOM\u8bb0\u5f55<\/h2>\n<p>\u5185\u5b58\u4e0d\u8db3\u65f6\uff0c\u5185\u6838\u53ef\u80fd\u7ec8\u6b62\u8fdb\u7a0b\u4ee5\u7ef4\u6301\u7cfb\u7edf\u8fd0\u884c\u3002\u88ab\u7ec8\u6b62\u7684\u8fdb\u7a0b\u9000\u51fa\u540e\uff0c\u5185\u5b58\u4f1a\u91ca\u653e\uff0c\u6240\u4ee5\u4e8b\u540e\u518d\u770bfree\u53ef\u80fd\u5df2\u7ecf\u6b63\u5e38\u3002\u8fd9\u4e0d\u80fd\u63a8\u7ffb\u4e4b\u524d\u53d1\u751f\u8fc7\u7684\u5185\u5b58\u4e0d\u8db3\u3002<\/p>\n<p>\u4f7f\u7528systemd\u7684\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u5148\u770b\u672c\u6b21\u542f\u52a8\u6700\u8fd1\u4e24\u5c0f\u65f6\u7684\u5185\u6838\u65e5\u5fd7\uff1a<\/p>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>sudo journalctl -k -b --since &quot;-2h&quot; --no-pager<\/code><\/pre>\n<p>\u56f4\u7ed5\u6545\u969c\u65f6\u95f4\u67e5<code>Out of memory<\/code>\u3001<code>oom-kill<\/code>\u3001<code>Killed process<\/code>\u7b49\u8bb0\u5f55\uff0c\u5e76\u4fdd\u7559\u524d\u540e\u6587\u3002\u786e\u8ba4\u88ab\u7ec8\u6b62\u7684\u8fdb\u7a0b\u3001\u65f6\u95f4\u4e0e\u4e1a\u52a1\u6545\u969c\u662f\u5426\u5bf9\u5e94\uff0c\u4e0d\u8981\u53ea\u622a\u4e00\u884c\u5173\u952e\u8bcd\u5c31\u65ad\u5b9a\u6839\u56e0\u3002<\/p>\n<p>\u82e5\u6545\u969c\u540e\u91cd\u542f\u8fc7\uff0c\u5148\u5217\u51fa\u4fdd\u7559\u7684\u542f\u52a8\u8bb0\u5f55\uff0c\u518d\u67e5\u770b\u4e0a\u4e00\u6b21\u542f\u52a8\uff1a<\/p>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>sudo journalctl --list-boots\r\nsudo journalctl -k -b -1 --no-pager<\/code><\/pre>\n<p>\u8fd9\u4e9b\u547d\u4ee4\u9700\u8981\u76f8\u5e94\u6743\u9650\uff0c\u5386\u53f2\u65e5\u5fd7\u662f\u5426\u5b58\u5728\u53d6\u51b3\u4e8e\u4fdd\u7559\u548c\u6301\u4e45\u5316\u8bbe\u7f6e\u3002\u975esystemd\u73af\u5883\u53ef\u6309\u53d1\u884c\u7248\u65b9\u5f0f\u67e5\u5185\u6838\u65e5\u5fd7\uff1b<code>dmesg<\/code>\u4e5f\u53ef\u80fd\u53d7\u6743\u9650\u9650\u5236\u3001\u8bb0\u5f55\u88ab\u8986\u76d6\u3002\u67e5\u4e0d\u5230\u5173\u952e\u8bcd\uff0c\u4e0d\u7b49\u4e8e\u53ef\u4ee5\u8bc1\u660e\u4ece\u672a\u53d1\u751fOOM\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">4. \u5bbf\u4e3b\u673a\u8fd8\u6709\u7a7a\u95f2\uff0c\u5bb9\u5668\u4ecd\u53ef\u80fd\u5185\u5b58\u4e0d\u8db3<\/h2>\n<p>\u5bb9\u5668\u6216\u670d\u52a1\u53ef\u80fd\u53d7\u5355\u72ec\u7684\u5185\u5b58\u9650\u989d\u7ea6\u675f\u3002\u4ee5cgroup v2\u4e3a\u4f8b\uff0c\u67d0\u7ec4\u8fbe\u5230memory.max\u4e14\u65e0\u6cd5\u56de\u6536\u65f6\uff0c\u53ef\u4ee5\u5728\u8be5\u7ec4\u5185\u89e6\u53d1OOM\u3002\u56e0\u6b64\u8981\u540c\u65f6\u67e5\u5e94\u7528\u6240\u5c5e\u5bb9\u5668\u6216\u670d\u52a1\u7684\u9650\u5236\uff0c\u4e0d\u80fd\u53ea\u770b\u6574\u53f0\u670d\u52a1\u5668\u7684free\u7ed3\u679c\u3002\u53cd\u8fc7\u6765\uff0c\u4e5f\u4e0d\u80fd\u770b\u5230\u5bb9\u5668\u9000\u51fa\u5c31\u8ba4\u5b9a\u4e00\u5b9a\u662fOOM\uff0c\u8981\u6838\u5bf9\u9000\u51fa\u539f\u56e0\u548c\u65e5\u5fd7\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">5. \u4ec0\u4e48\u60c5\u51b5\u503c\u5f97\u52a0\u5185\u5b58<\/h2>\n<table style=\"width:100%;border-collapse:collapse;font-size:14px;margin:20px 0\">\n<thead>\n<tr>\n<th style=\"padding:12px;border:1px solid #dce4ef;text-align:left;background:#f2f6fc\">\u89c2\u5bdf\u7ed3\u679c<\/th>\n<th style=\"padding:12px;border:1px solid #dce4ef;text-align:left;background:#f2f6fc\">\u4f18\u5148\u52a8\u4f5c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u4e3b\u8981\u662f\u7f13\u5b58\uff0cavailable\u6709\u4f59\u91cf\uff0c\u4e1a\u52a1\u5e73\u7a33<\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u4fdd\u7559\u76d1\u63a7\uff0c\u6682\u4e0d\u51ed\u5360\u7528\u767e\u5206\u6bd4\u5347\u7ea7\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u5355\u4e2a\u7a0b\u5e8f\u5360\u7528\u6301\u7eed\u589e\u957f\uff0c\u6216\u8fd1\u671f\u6539\u52a8\u540e\u5f02\u5e38<\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u67e5\u7a0b\u5e8f\u3001\u5e76\u53d1\u548c\u7f13\u5b58\u914d\u7f6e\uff1b\u6269\u5bb9\u4e0d\u80fd\u4ee3\u66ff\u67e5\u6cc4\u6f0f\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u6b63\u5e38\u9ad8\u5cf0\u53cd\u590d\u51fa\u73b0\u5185\u5b58\u538b\u529b\u3001\u6362\u9875\u6216OOM<\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u6838\u7b97\u5e94\u7528\u5cf0\u503c\u4e0e\u589e\u957f\uff0c\u8bc4\u4f30\u6269\u5bb9\u6216\u62c6\u5206\u8d1f\u8f7d\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u53ea\u6709\u67d0\u4e2a\u5bb9\u5668\u53d7\u9650<\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u5148\u6838\u5bf9\u5b83\u7684\u9650\u989d\u4e0e\u5bbf\u4e3b\u673a\u4f59\u91cf\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0d\u8981\u4e3a\u4e86\u8ba9\u9762\u677f\u6570\u5b57\u597d\u770b\u5c31\u6e05\u7f13\u5b58\u6216\u5173\u95edswap\u3002\u5411\u6280\u672f\u4eba\u5458\u63d0\u4ea4\u6545\u969c\u65f6\uff0c\u9644\u65f6\u95f4\u3001free\u4e0evmstat\u7ed3\u679c\u3001\u76f8\u5173\u5185\u6838\u65e5\u5fd7\uff0c\u4ee5\u53ca\u6700\u8fd1\u662f\u5426\u6539\u8fc7\u5e94\u7528\u914d\u7f6e\u3002\u5bf9\u5916\u53d1\u9001\u524d\uff0c\u5148\u906e\u4f4f\u5ba2\u6237\u8def\u5f84\u3001\u8d26\u53f7\u548c\u4e1a\u52a1\u4fe1\u606f\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">\u5b98\u65b9\u53c2\u8003<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/procps-ng\/procps\/blob\/master\/man\/free.1\" target=\"_blank\" rel=\"noopener\">procps-ng\uff1afree\u624b\u518c\u4e0eavailable\u5b9a\u4e49<\/a><\/li>\n<li><a href=\"https:\/\/docs.redhat.com\/en\/documentation\/red_hat_enterprise_linux\/7\/html\/system_administrators_guide\/ch-system_monitoring_tools\" target=\"_blank\" rel=\"noopener\">Red Hat\uff1a\u67e5\u770b\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/a><\/li>\n<li><a href=\"https:\/\/manpages.ubuntu.com\/manpages\/noble\/man8\/vmstat.8.html\" target=\"_blank\" rel=\"noopener\">Ubuntu\u6536\u5f55\u7684procps-ng vmstat\u624b\u518c<\/a><\/li>\n<li><a href=\"https:\/\/docs.kernel.org\/admin-guide\/mm\/concepts.html\" target=\"_blank\" rel=\"noopener\">Linux\u5185\u6838\uff1a\u56de\u6536\u4e0eOOM\u673a\u5236<\/a><\/li>\n<li><a href=\"https:\/\/docs.kernel.org\/admin-guide\/cgroup-v2.html\" target=\"_blank\" rel=\"noopener\">Linux\u5185\u6838\uff1acgroup v2\u5185\u5b58\u9650\u989d<\/a><\/li>\n<li><a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/latest\/journalctl.html\" target=\"_blank\" rel=\"noopener\">systemd\uff1ajournalctl\u65e5\u5fd7\u8303\u56f4\u4e0e\u542f\u52a8\u8bb0\u5f55<\/a><\/li>\n<li><a href=\"https:\/\/manpages.ubuntu.com\/manpages\/noble\/man1\/free.1.html\" target=\"_blank\" rel=\"noopener\">Ubuntu\uff1aprocps-ng free\u624b\u518c<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5185\u5b58\u5360\u7528\u9ad8\u4e0d\u7b49\u4e8e\u673a\u5668\u4e0d\u591f\u7528\u3002\u7528free\u3001vmstat\u548c\u5185\u6838\u65e5\u5fd7\uff0c\u5206\u6e05\u7f13\u5b58\u3001\u6301\u7eed\u6362\u9875\u3001OOM\u53ca\u5bb9\u5668\u9650\u989d\uff0c\u518d\u5224\u65ad\u8be5\u4f18\u5316\u7a0b\u5e8f\u8fd8\u662f\u5347\u7ea7\u914d\u7f6e\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[235],"tags":[239,260,261,259],"class_list":["post-1334","post","type-post","status-publish","format-standard","hentry","category-235","tag-linux","tag-oom","tag-swap","tag-259"],"_links":{"self":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1334"}],"version-history":[{"count":1,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1334\/revisions"}],"predecessor-version":[{"id":1335,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1334\/revisions\/1335"}],"wp:attachment":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}