{"id":115425,"date":"2026-10-12T06:24:59","date_gmt":"2026-10-11T22:24:59","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115425.html"},"modified":"2026-10-12T06:24:59","modified_gmt":"2026-10-11T22:24:59","slug":"ubuntu-server-%e5%85%a5%e9%97%a8-12-%e8%ae%b2%ef%bc%8811%ef%bc%89%ef%bc%9a%e8%bf%9b%e7%a8%8b%e4%b8%8e%e6%9c%8d%e5%8a%a1-%e5%93%aa%e4%b8%80%e5%88%97%e8%83%bd%e4%bf%a1%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115425.html","title":{"rendered":"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1<\/li>\n<li>\n<ul>\n<li>\u672c\u8bb2\u8bb2\u4ec0\u4e48<\/li>\n<li>11.1 \u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b<\/li>\n<li>11.2 `ps` \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a<\/li>\n<li>11.3 top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d<\/li>\n<li>11.4 \u524d\u540e\u53f0\u4e0e\u4f5c\u4e1a\u63a7\u5236<\/li>\n<li>11.5 \u7ed3\u675f\u8fdb\u7a0b\uff1a\u4fe1\u53f7 15 \u4e0e 9<\/li>\n<li>11.6 \u4f18\u5148\u7ea7\uff1anice \u4e0e renice<\/li>\n<li>11.7 systemd\uff1a\u5199\u4e00\u4e2a\u81ea\u5df1\u7684\u670d\u52a1<\/li>\n<li>11.8 `start` \u4e0e `enable` \u7684\u533a\u522b<\/li>\n<li>11.9 \u4eba\u770b vs \u673a\u5668\u8bfb<\/li>\n<li>\u52a8\u624b\u6e05\u5355<\/li>\n<li>\u4e09\u4e2a\u5bb9\u6613\u8e29\u7684\u5751<\/li>\n<li>\u4e00\u53e5\u8bdd\u5e26\u8d70<\/li>\n<li>\u4e0a\u4e00\u8bb2\u56de\u987e<\/li>\n<li>\u4e0b\u4e00\u8bb2<\/li>\n<li>\u7cfb\u5217\u76ee\u5f55<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1<\/h2>\n<p>ps \u7684\u96be\u70b9\u4ece\u6765\u4e0d\u662f\u8bed\u6cd5\uff0c\u662f\u54ea\u4e00\u5217\u53ef\u4ee5\u4fe1\uff1a\u8f93\u51fa\u6709\u5341\u51e0\u5217\uff0c\u5176\u4e2d PID\u3001%CPU\u3001TIME\u3001START \u6bcf\u6b21\u90fd\u5728\u53d8\uff0c\u800c COMM\u3001NI\u3001UID\u3001PPID \u662f\u4e0d\u52a8\u7684\u3002\u5206\u4e0d\u6e05\u8fd9\u4e00\u70b9\uff0c\u5199\u51fa\u6765\u7684\u811a\u672c\u4eca\u5929\u5bf9\u3001\u660e\u5929\u9519\u3002\u800c systemd \u90a3\u8fb9\u8fd8\u6709\u4e00\u6761\u66f4\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u4e8b\uff1a\u300c\u73b0\u5728\u5728\u4e0d\u5728\u8dd1\u300d\u548c\u300c\u5f00\u673a\u81ea\u4e0d\u81ea\u542f\u300d\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u95ee\u9898\uff0c\u53ea\u95ee\u4e00\u4e2a\u5c31\u4ea4\u4ed8\uff0c\u7b49\u4e8e\u6ca1\u505a\u5b8c\u3002<\/p>\n<hr>\n<h3>\u672c\u8bb2\u8bb2\u4ec0\u4e48<\/h3>\n<table>\n<tr>\n   \u5c0f\u8282<br \/>\n   \u8bb2\u4ec0\u4e48<br \/>\n   \u8bfb\u5b8c\u4f60\u80fd\u505a\u4ec0\u4e48<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>11.1<\/td>\n<td>\u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b<\/td>\n<td>\u8fdb\u7a0b\u662f\u4ec0\u4e48\u3001\u8c01\u5728\u7ba1\u5b83<\/td>\n<\/tr>\n<tr>\n<td>11.2<\/td>\n<td>ps \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a<\/td>\n<td>\u53ea\u6311\u7a33\u5b9a\u7684\u5217\uff0c\u5199\u51fa\u4e0d\u4f1a\u9519\u7684\u811a\u672c<\/td>\n<\/tr>\n<tr>\n<td>11.3<\/td>\n<td>top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d<\/td>\n<td>\u8d1f\u8f7d\u8981\u8ddf\u6838\u6570\u6bd4<\/td>\n<\/tr>\n<tr>\n<td>11.4<\/td>\n<td>\u524d\u540e\u53f0\u4e0e\u4f5c\u4e1a\u63a7\u5236<\/td>\n<td>&amp;\u3001Ctrl+C\u3001Ctrl+Z \u5404\u5e72\u4ec0\u4e48<\/td>\n<\/tr>\n<tr>\n<td>11.5<\/td>\n<td>\u7ed3\u675f\u8fdb\u7a0b\uff1a\u4fe1\u53f7 15 \u4e0e 9<\/td>\n<td>\u5148\u793c\u540e\u5175<\/td>\n<\/tr>\n<tr>\n<td>11.6<\/td>\n<td>\u4f18\u5148\u7ea7\uff1anice \u4e0e renice<\/td>\n<td>\u4e0d\u62a2\u8d44\u6e90<\/td>\n<\/tr>\n<tr>\n<td>11.7<\/td>\n<td>systemd\uff1a\u5199\u4e00\u4e2a\u81ea\u5df1\u7684\u670d\u52a1<\/td>\n<td>\u670d\u52a1\u80fd\u88ab\u6258\u7ba1<\/td>\n<\/tr>\n<tr>\n<td>11.8<\/td>\n<td>start \u4e0e enable \u7684\u533a\u522b<\/td>\n<td>\u672c\u8bb2\u6700\u8981\u7d27\u7684\u4e00\u6761<\/td>\n<\/tr>\n<tr>\n<td>11.9<\/td>\n<td>\u4eba\u770b vs \u673a\u5668\u8bfb<\/td>\n<td>status \u5bf9\u4eba\u3001is-active \u5bf9\u811a\u672c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h3>11.1 \u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b<\/h3>\n<p>\u4e00\u4e2a\u7c7b\u6bd4\u5c31\u591f\uff1a<\/p>\n<p>\u7a0b\u5e8f\u662f\u83dc\u8c31\uff0c\u8fdb\u7a0b\u662f\u7167\u7740\u83dc\u8c31\u505a\u7684\u90a3\u9505\u83dc\u3002<\/p>\n<p>\u540c\u4e00\u4e2a\u7a0b\u5e8f\u8dd1\u4e24\u6b21 = \u4e24\u4e2a\u8fdb\u7a0b\u3002\u6240\u4ee5\u300cnginx \u505c\u4e86\u300d\u8fd9\u53e5\u8bdd\u4e0d\u4e25\u8c28\u2014\u2014\u662f\u300c\u90a3\u4e9b nginx \u8fdb\u7a0b\u505c\u4e86\u300d\u3002\u8fd9\u4e2a\u533a\u5206\u5728\u6392\u67e5\u65f6\u5f88\u8981\u7d27\uff1a\u4e00\u4e2a\u8fdb\u7a0b\u505c\u4e86\u4e0d\u5f71\u54cd\u53e6\u4e00\u4e2a\u3002<\/p>\n<p>\u5185\u6838\u5f00\u673a\u65f6\u53ea\u4eb2\u624b\u8d77\u4e00\u4e2a\u8fdb\u7a0b\uff0cPID \u662f 1\uff0c\u53eb systemd\uff08Ubuntu \u4e0a\u662f\u8fd9\u6837\uff09\u3002\u5176\u4f59\u6240\u6709\u8fdb\u7a0b\u7684\u7236\u8fdb\u7a0b\u6700\u7ec8\u90fd\u6307\u5411\u5b83\u3002<\/p>\n<p><span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">1<\/span> <span class=\"token parameter variable\">-o<\/span> pid,comm,args<\/p>\n<p>\u6740\u6389 1 \u53f7\u8fdb\u7a0b\u7b49\u4e8e\u5173\u673a\u2014\u2014\u5b83\u4e00\u6b7b\uff0c\u5185\u6838\u5c31\u6ca1\u6709\u76d1\u62a4\u4eba\u4e86\u3002\u800c\u4e14\u666e\u901a\u7528\u6237\u672c\u6765\u5c31\u6740\u4e0d\u4e86\u5b83\u3002<\/p>\n<p>\u8fd9\u4e00\u6761\u7684\u5b9e\u9645\u610f\u4e49\uff1a\u4efb\u4f55\u8fdb\u7a0b\u987a\u7740 PPID \u5f80\u4e0a\u8ffd\uff0c\u6700\u7ec8\u90fd\u4f1a\u8d70\u5230 PID 1\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u300c\u627e\u4e0d\u5230\u7236\u8fdb\u7a0b\u300d\u7684\u95ee\u9898\u4e0d\u4f1a\u51fa\u73b0\u2014\u2014\u5982\u679c\u67d0\u4e2a\u8fdb\u7a0b\u7684 PPID \u53d8\u6210\u4e86 1\uff0c\u8bf4\u660e\u5b83\u539f\u6765\u7684\u7236\u8fdb\u7a0b\u5df2\u7ecf\u9000\u4e86\uff0c\u5b83\u88ab init \u6536\u517b\u4e86\uff08\u5b64\u513f\u8fdb\u7a0b\uff09\u3002<\/p>\n<hr>\n<h3>11.2 ps \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a<\/h3>\n<p>\u8fd9\u4e00\u8282\u662f\u672c\u8bb2\u7684\u6838\u5fc3\u3002ps \u7684\u8f93\u51fa\u6709\u5341\u51e0\u5217\uff0c\u5176\u4e2d\u4e00\u90e8\u5206\u6bcf\u6b21\u6267\u884c\u90fd\u5728\u53d8\uff0c\u4e00\u90e8\u5206\u6052\u5b9a\u3002<\/p>\n<table>\n<tr>\n   \u4f1a\u53d8\u7684\u5217<br \/>\n   \u4e0d\u4f1a\u53d8\u7684\u5217<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>PID\uff08\u8fdb\u7a0b\u53f7\uff0c\u6bcf\u6b21\u90fd\u4e0d\u540c\uff09<\/td>\n<td>COMM\uff08\u547d\u4ee4\u540d\uff09<\/td>\n<\/tr>\n<tr>\n<td>%CPU\uff08\u77ac\u95f4\u5360\u7528\uff09<\/td>\n<td>NI\uff08nice \u503c\uff09<\/td>\n<\/tr>\n<tr>\n<td>TIME\uff08\u7d2f\u8ba1 CPU \u65f6\u95f4\uff0c\u4e00\u76f4\u6da8\uff09<\/td>\n<td>UID\uff08\u5c5e\u4e3b\uff09<\/td>\n<\/tr>\n<tr>\n<td>START\uff08\u542f\u52a8\u65f6\u523b\uff09<\/td>\n<td>PPID\uff08\u7236\u8fdb\u7a0b\u53f7\uff09<\/td>\n<\/tr>\n<tr>\n<td>VSZ \/ RSS\uff08\u5185\u5b58\u5360\u7528\u4f1a\u6ce2\u52a8\uff09<\/td>\n<td>S\uff08\u72b6\u6001\uff0c\u5927\u90e8\u5206\u65f6\u5019\u7a33\u5b9a\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u4ec0\u4e48\u8fd9\u4e2a\u533a\u5206\u5982\u6b64\u91cd\u8981\uff1a<\/p>\n<p><span class=\"token comment\"># \u5371\u9669\u7684\u5199\u6cd5\uff1a\u4f9d\u8d56\u9ed8\u8ba4\u8f93\u51fa<\/span><br \/>\n<span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> nginx <span class=\"token operator\">|<\/span> <span class=\"token function\">awk<\/span> <span class=\"token string\">\\'{print $2}\\&#8217;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">xargs<\/span> <span class=\"token function\">kill<\/span><\/p>\n<p>\u4e0a\u9762\u8fd9\u6761\u5728\u5927\u591a\u6570\u65f6\u5019\u662f\u5bf9\u7684\uff08\u56e0\u4e3a ps aux \u7684\u9ed8\u8ba4\u5217\u987a\u5e8f\u662f\u56fa\u5b9a\u7684\uff09\uff0c\u4f46\u5b83\u628a\u811a\u672c\u7684\u6b63\u786e\u6027\u62bc\u5728\u300cps aux \u7684\u9ed8\u8ba4\u8f93\u51fa\u6c38\u8fdc\u4e0d\u53d8\u300d\u8fd9\u4ef6\u4e8b\u4e0a\u3002\u6362\u4e00\u53f0\u7cfb\u7edf\u3001\u6362\u4e00\u6b21 psutil \u7248\u672c\u3001\u52a0\u4e0a\u4e00\u4e2a\u73af\u5883\u53d8\u91cf\uff0c\u5217\u987a\u5e8f\u90fd\u53ef\u80fd\u53d8\u3002<\/p>\n<p>\u6240\u4ee5\u6b63\u786e\u7684\u5199\u6cd5\u662f\u663e\u5f0f -o \u6311\u5217\uff1a<\/p>\n<p><span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-eo<\/span> pid,ppid,user,%cpu,%mem,comm <span class=\"token parameter variable\">&#8211;sort<\/span><span class=\"token operator\">=<\/span>-%cpu <span class=\"token operator\">|<\/span> <span class=\"token function\">head<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">10<\/span><\/p>\n<p>\u8fd9\u6837\u7b2c 2 \u5217\u6c38\u8fdc\u662f PID\uff0c\u65e0\u8bba\u7cfb\u7edf\u600e\u4e48\u53d8\u3002<\/p>\n<p>\u5b8c\u6574\u7684\u63a8\u8350\u5199\u6cd5\uff1a<\/p>\n<p><span class=\"token comment\"># \u6309 CPU \u6392\u5e8f\uff0c\u53d6\u524d\u5341<\/span><br \/>\n<span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-eo<\/span> pid,ppid,user,%cpu,%mem,comm <span class=\"token parameter variable\">&#8211;sort<\/span><span class=\"token operator\">=<\/span>-%cpu <span class=\"token operator\">|<\/span> <span class=\"token function\">head<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">10<\/span><\/p>\n<p><span class=\"token comment\"># \u6309\u5185\u5b58\u6392\u5e8f\uff0c\u53d6\u524d\u5341<\/span><br \/>\n<span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-eo<\/span> pid,user,%mem,rss,comm <span class=\"token parameter variable\">&#8211;sort<\/span><span class=\"token operator\">=<\/span>-%mem <span class=\"token operator\">|<\/span> <span class=\"token function\">head<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">10<\/span><\/p>\n<p><span class=\"token comment\"># \u770b\u67d0\u4e2a\u7528\u6237\u7684\u6240\u6709\u8fdb\u7a0b<\/span><br \/>\n<span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-u<\/span> ubuntu <span class=\"token parameter variable\">-o<\/span> pid,%cpu,comm <span class=\"token parameter variable\">&#8211;sort<\/span><span class=\"token operator\">=<\/span>-%cpu<\/p>\n<p><span class=\"token comment\"># \u627e\u67d0\u4e2a\u540d\u5b57\u7684\u8fdb\u7a0b\uff08pgrep \u66f4\u9002\u5408\uff0c\u89c1 11.6\uff09<\/span><br \/>\npgrep <span class=\"token parameter variable\">-a<\/span> nginx<\/p>\n<p>\u4e00\u4e2a\u5bb9\u6613\u8e29\u7684\u5751\uff1aps aux | grep nginx \u4f1a\u628a grep \u81ea\u5df1\u4e5f\u5339\u914d\u51fa\u6765\uff08\u56e0\u4e3a\u547d\u4ee4\u884c\u91cc\u5305\u542b \u201cnginx\u201d \u8fd9\u51e0\u4e2a\u5b57\uff09\u3002<\/p>\n<p><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">\\'[n]ginx\\&#8217;<\/span>      <span class=\"token comment\"># \u65b9\u62ec\u53f7\u5199\u6cd5\uff1agrep \u81ea\u5df1\u7684\u547d\u4ee4\u884c\u91cc\u662f [n]ginx\uff0c\u5339\u914d\u4e0d\u4e0a<\/span><br \/>\npgrep <span class=\"token parameter variable\">-a<\/span> nginx               <span class=\"token comment\"># \u6b63\u786e\u505a\u6cd5\uff1a\u8fd9\u4e2a\u5de5\u5177\u672c\u6765\u5c31\u4e0d\u5339\u914d\u81ea\u5df1<\/span><\/p>\n<p>\u8bb0\u4f4f pgrep \u662f ps aux | grep \u7684\u6b63\u786e\u66ff\u4ee3\u54c1\u3002<\/p>\n<hr>\n<h3>11.3 top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d<\/h3>\n<p>top \u7684\u7b2c\u4e00\u5c4f\u4fe1\u606f\u5bc6\u5ea6\u6781\u9ad8\uff0c\u503c\u5f97\u9010\u884c\u8bfb\u61c2\u3002<\/p>\n<p>top &#8211; 10:32:17 up 3 days,  4:11,  2 users,  load average: 0.52, 0.58, 0.59<br \/>\nTasks: 128 total,   1 running, 127 sleeping,   0 stopped,   0 zombie<br \/>\n%Cpu(s):  2.1 us,  0.9 sy,  0.0 ni, 97.0 id,  0.0 wa,  0.0 hi,  0.0 si<br \/>\nMiB Mem :  3861.4 total,   2352.1 free,   1108.2 used,   401.1 buff\/cache<br \/>\nMiB Swap:  2048.0 total,  2048.0 free,      0.0 used.   512.0 avail Mem<\/p>\n<p>\u7b2c\u4e00\u884c\uff1a<\/p>\n<ul>\n<li>up 3 days, 4:11 \u2014\u2014 \u5f00\u673a\u65f6\u957f\uff1b<\/li>\n<li>load average: 0.52, 0.58, 0.59 \u2014\u2014 1 \u5206\u949f\u30015 \u5206\u949f\u300115 \u5206\u949f\u7684\u5e73\u5747\u8d1f\u8f7d\u3002\u4e09\u4e2a\u6570\u4ece\u5de6\u5230\u53f3\uff0c\u8d8b\u52bf\u6bd4\u6570\u503c\u66f4\u91cd\u8981\u3002<\/li>\n<\/ul>\n<p>\u5173\u4e8e\u8d1f\u8f7d\uff0c\u4e00\u6761\u5fc5\u987b\u8bb0\u7684\u5224\u636e\uff1a<\/p>\n<p>\u8d1f\u8f7d\u8981\u548c\u6838\u6570\u6bd4\uff0c\u4e0d\u662f\u770b\u767e\u5206\u6bd4\u3002<\/p>\n<ul>\n<li>4 \u6838\u673a\u5668\u4e0a\u8d1f\u8f7d 2.5 = \u5fd9\u5f97\u8fc7\u6765\uff1b<\/li>\n<li>1 \u6838\u673a\u5668\u4e0a\u8d1f\u8f7d 2.5 = \u5df2\u7ecf\u8fc7\u8f7d\u4e86\u3002<\/li>\n<\/ul>\n<p>\u4e09\u4e2a\u6570\u7684\u8bfb\u6cd5\uff1a\u5982\u679c 1 \u5206\u949f\u7684\u6570\u660e\u663e\u9ad8\u4e8e 15 \u5206\u949f\uff0c\u8bf4\u660e\u8d1f\u8f7d\u6b63\u5728\u4e0a\u5347\uff1b\u5982\u679c 1 \u5206\u949f\u4f4e\u4e8e 15 \u5206\u949f\uff0c\u8bf4\u660e\u6b63\u5728\u56de\u843d\u3002\u8d1f\u8f7d\u9ad8\u4e0d\u7b49\u4e8e CPU \u6ee1\u2014\u2014\u5b83\u8fd8\u5305\u62ec\u5904\u4e8e\u4e0d\u53ef\u4e2d\u65ad\u7761\u7720\uff08D \u72b6\u6001\uff09\u7684\u8fdb\u7a0b\uff0c\u6bd4\u5982\u5361\u5728\u78c1\u76d8 I\/O \u4e0a\u7684\u3002<\/p>\n<p>\u7b2c\u4e09\u884c %Cpu(s) \u90a3\u51e0\u4e2a\u7f29\u5199\uff1a&lt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55 Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 \u672c\u8bb2\u8bb2\u4ec0\u4e48 11.1 \u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b 11.2 `ps` \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a 11.3 top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d 11.4 \u524d\u540e\u53f0\u4e0e\u4f5c\u4e1a\u63a7\u5236 11.5 \u7ed3\u675f\u8fdb\u7a0b\uff1a\u4fe1\u53f7 15 \u4e0e 9 11.6 \u4f18\u5148\u7ea7\uff1anice \u4e0e renice 11.7 systemd\uff1a\u5199\u4e00\u4e2a\u81ea\u5df1\u7684\u670d\u52a1 11.8 `start` \u4e0e `enable` \u7684\u533a\u522b 11.9 \u4eba\u770b vs \u673a\u5668\u8bfb \u52a8\u624b\u6e05\u5355 <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,103,100],"topic":[],"class_list":["post-115425","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-ubuntu","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/115425.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55 Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 \u672c\u8bb2\u8bb2\u4ec0\u4e48 11.1 \u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b 11.2 `ps` \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a 11.3 top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d 11.4 \u524d\u540e\u53f0\u4e0e\u4f5c\u4e1a\u63a7\u5236 11.5 \u7ed3\u675f\u8fdb\u7a0b\uff1a\u4fe1\u53f7 15 \u4e0e 9 11.6 \u4f18\u5148\u7ea7\uff1anice \u4e0e renice 11.7 systemd\uff1a\u5199\u4e00\u4e2a\u81ea\u5df1\u7684\u670d\u52a1 11.8 `start` \u4e0e `enable` \u7684\u533a\u522b 11.9 \u4eba\u770b vs \u673a\u5668\u8bfb \u52a8\u624b\u6e05\u5355\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115425.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-11T22:24:59+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115425.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115425.html\",\"name\":\"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-11T22:24:59+00:00\",\"dateModified\":\"2026-10-11T22:24:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115425.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115425.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115425.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/115425.html","og_locale":"zh_CN","og_type":"article","og_title":"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55 Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 \u672c\u8bb2\u8bb2\u4ec0\u4e48 11.1 \u7a0b\u5e8f\u4e0e\u8fdb\u7a0b\uff0c1 \u53f7\u8fdb\u7a0b 11.2 `ps` \u7684\u54ea\u4e9b\u5217\u4f1a\u52a8\u3001\u54ea\u4e9b\u4e0d\u4f1a 11.3 top \u524d\u4e94\u884c\u4e0e\u8d1f\u8f7d 11.4 \u524d\u540e\u53f0\u4e0e\u4f5c\u4e1a\u63a7\u5236 11.5 \u7ed3\u675f\u8fdb\u7a0b\uff1a\u4fe1\u53f7 15 \u4e0e 9 11.6 \u4f18\u5148\u7ea7\uff1anice \u4e0e renice 11.7 systemd\uff1a\u5199\u4e00\u4e2a\u81ea\u5df1\u7684\u670d\u52a1 11.8 `start` \u4e0e `enable` \u7684\u533a\u522b 11.9 \u4eba\u770b vs \u673a\u5668\u8bfb \u52a8\u624b\u6e05\u5355","og_url":"https:\/\/www.wsisp.com\/helps\/115425.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-11T22:24:59+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/115425.html","url":"https:\/\/www.wsisp.com\/helps\/115425.html","name":"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-11T22:24:59+00:00","dateModified":"2026-10-11T22:24:59+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115425.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115425.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115425.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Ubuntu Server \u5165\u95e8 12 \u8bb2\uff0811\uff09\uff1a\u8fdb\u7a0b\u4e0e\u670d\u52a1 \u2014\u2014 \u54ea\u4e00\u5217\u80fd\u4fe1\uff0c\u670d\u52a1\u600e\u4e48\u7ba1"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=115425"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115425\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115425"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}