{"id":393,"date":"2014-02-18T15:37:52","date_gmt":"2014-02-18T07:37:52","guid":{"rendered":"http:\/\/www.cnmiss.cn\/?p=393"},"modified":"2014-02-18T15:37:52","modified_gmt":"2014-02-18T07:37:52","slug":"linux-top-%e5%91%bd%e4%bb%a4%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.cnmiss.cn\/?p=393","title":{"rendered":"Linux Top \u547d\u4ee4\u89e3\u6790"},"content":{"rendered":"<p>TOP\u662f\u4e00\u4e2a\u52a8\u6001\u663e\u793a\u8fc7\u7a0b,\u5373\u53ef\u4ee5\u901a\u8fc7\u7528\u6237\u6309\u952e\u6765\u4e0d\u65ad\u5237\u65b0\u5f53\u524d\u72b6\u6001.\u5982\u679c\u5728\u524d\u53f0\u6267\u884c\u8be5\u547d\u4ee4,\u5b83\u5c06\u72ec\u5360\u524d\u53f0,\u76f4\u5230\u7528\u6237\u7ec8\u6b62\u8be5\u7a0b\u5e8f\u4e3a\u6b62.\u6bd4\u8f83\u51c6\u786e\u7684\u8bf4,top\u547d\u4ee4\u63d0\u4f9b\u4e86\u5b9e\u65f6\u7684\u5bf9\u7cfb\u7edf\u5904\u7406\u5668\u7684\u72b6\u6001\u76d1\u89c6.\u5b83\u5c06\u663e\u793a\u7cfb\u7edf\u4e2dCPU\u6700\u201c\u654f\u611f\u201d\u7684\u4efb\u52a1\u5217\u8868.\u8be5\u547d\u4ee4\u53ef\u4ee5\u6309CPU\u4f7f\u7528.\u5185\u5b58\u4f7f\u7528\u548c\u6267\u884c\u65f6\u95f4\u5bf9\u4efb\u52a1\u8fdb\u884c\u6392\u5e8f\uff1b\u800c\u4e14\u8be5\u547d\u4ee4\u7684\u5f88\u591a\u7279\u6027\u90fd\u53ef\u4ee5\u901a\u8fc7\u4ea4\u4e92\u5f0f\u547d\u4ee4\u6216\u8005\u5728\u4e2a\u4eba\u5b9a\u5236\u6587\u4ef6\u4e2d\u8fdb\u884c\u8bbe\u5b9a.<\/p>\n<p>top &#8211; 12:38:33 up 50 days, 23:15,\u00a0\u00a07 users,\u00a0\u00a0load average: 60.58, 61.14, 61.22<\/p>\n<p>Tasks: 203 total,\u00a0\u00a060 running, 139 sleeping,\u00a0\u00a0\u00a04 stopped,\u00a0\u00a0\u00a00 zombie<\/p>\n<p>Cpu(s)\u00a0\u00a0: 27.0%us, 73.0%sy,\u00a0\u00a00.0%ni,\u00a0\u00a00.0%id,\u00a0\u00a00.0%wa,\u00a0\u00a00.0%hi,\u00a0\u00a00.0%si,\u00a0\u00a00.0%st<\/p>\n<p>Mem:\u00a0\u00a0\u00a01939780k total,\u00a0\u00a01375280k used,\u00a0\u00a0\u00a0564500k free,\u00a0\u00a0\u00a0109680k buffers<\/p>\n<p>Swap:\u00a0\u00a04401800k total,\u00a0\u00a0\u00a0497456k used,\u00a0\u00a03904344k free,\u00a0\u00a0\u00a0848712k cached<\/p>\n<p>PID USER\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0PR\u00a0\u00a0NI\u00a0\u00a0VIRT\u00a0\u00a0RES\u00a0\u00a0SHR S %CPU %MEM\u00a0\u00a0\u00a0\u00a0TIME+\u00a0\u00a0COMMAND<\/p>\n<p>4338 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0627m 209m 207m R\u00a0\u00a0\u00a0\u00a00 11.0 297:14.76 oracle<\/p>\n<p>4267 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0626m 144m 143m R\u00a0\u00a0\u00a0\u00a06\u00a0\u00a07.6\u00a0\u00a089:16.62 oracle<\/p>\n<p>3458 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0672m 133m 124m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a07.1\u00a0\u00a0\u00a01283:08 oracle<\/p>\n<p>3478 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0672m 124m 115m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a06.6\u00a0\u00a0\u00a01272:30 oracle<\/p>\n<p>3395 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0672m 122m 113m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a06.5\u00a0\u00a0\u00a01270:03 oracle<\/p>\n<p>3480 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0672m 122m 109m R\u00a0\u00a0\u00a0\u00a08\u00a0\u00a06.4\u00a0\u00a0\u00a01274:13 oracle<\/p>\n<p>3399 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0672m 121m 110m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a06.4\u00a0\u00a0\u00a01279:37 oracle<\/p>\n<p>4261 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0634m 100m\u00a0\u00a099m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a05.3\u00a0\u00a086:13.90 oracle<\/p>\n<p>25737 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0632m\u00a0\u00a081m\u00a0\u00a074m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a04.3 272:35.42 oracle<\/p>\n<p>7072 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0626m\u00a0\u00a072m\u00a0\u00a071m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a03.8\u00a0\u00a0\u00a06:35.68 oracle<\/p>\n<p>16073 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0630m\u00a0\u00a068m\u00a0\u00a063m R\u00a0\u00a0\u00a0\u00a08\u00a0\u00a03.6 175:20.36 oracle<\/p>\n<p>16140 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0630m\u00a0\u00a066m\u00a0\u00a060m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a03.5 175:13.42 oracle<\/p>\n<p>16122 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0630m\u00a0\u00a066m\u00a0\u00a060m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a03.5 176:47.73 oracle<\/p>\n<p>786 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0627m\u00a0\u00a063m\u00a0\u00a063m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a03.4\u00a0\u00a0\u00a01:54.93 oracle<\/p>\n<p>4271 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0627m\u00a0\u00a059m\u00a0\u00a058m R\u00a0\u00a0\u00a0\u00a08\u00a0\u00a03.1\u00a0\u00a086:09.64 oracle<\/p>\n<p>4273 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0627m\u00a0\u00a057m\u00a0\u00a056m R\u00a0\u00a0\u00a0\u00a08\u00a0\u00a03.0\u00a0\u00a084:38.20 oracle<\/p>\n<p>22670 oracle\u00a0\u00a0\u00a0\u00a025\u00a0\u00a0\u00a00\u00a0\u00a0626m\u00a0\u00a050m\u00a0\u00a049m R\u00a0\u00a0\u00a0\u00a00\u00a0\u00a02.7\u00a0\u00a084:55.82 oracle<\/p>\n<p>\u4e00.\u00a0\u00a0TOP\u524d\u4e94\u884c\u7edf\u8ba1\u4fe1\u606f<\/p>\n<p>\u7edf\u8ba1\u4fe1\u606f\u533a\u524d\u4e94\u884c\u662f\u7cfb\u7edf\u6574\u4f53\u7684\u7edf\u8ba1\u4fe1\u606f\u3002<\/p>\n<p>1.\u00a0\u7b2c\u4e00\u884c\u662f\u4efb\u52a1\u961f\u5217\u4fe1\u606f<\/p>\n<p>\u540c\u00a0uptime\u00a0\u00a0\u547d\u4ee4\u7684\u6267\u884c\u7ed3\u679c:<\/p>\n<p>[root@localhost ~]# uptime<\/p>\n<p>13:22:30 up 8 min,\u00a0\u00a04 users,\u00a0\u00a0load average: 0.14, 0.38, 0.25<\/p>\n<p>\u5176\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"208\">\n<p align=\"left\">12:38:33<\/p>\n<\/td>\n<td width=\"346\">\n<p align=\"left\">\u5f53\u524d\u65f6\u95f4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"208\">\n<p align=\"left\">up 50days<\/p>\n<\/td>\n<td width=\"346\">\n<p align=\"left\">\u7cfb\u7edf\u8fd0\u884c\u65f6\u95f4\uff0c\u683c\u5f0f\u4e3a\u65f6:\u5206<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"208\">\n<p align=\"left\">1 user<\/p>\n<\/td>\n<td width=\"346\">\n<p align=\"left\">\u5f53\u524d\u767b\u5f55\u7528\u6237\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"208\">\n<p align=\"left\">load average: 0.06, 0.60, 0.48<\/p>\n<\/td>\n<td width=\"346\">\n<p align=\"left\">\u7cfb\u7edf\u8d1f\u8f7d\uff0c\u5373\u4efb\u52a1\u961f\u5217\u7684\u5e73\u5747\u957f\u5ea6\u3002\u00a0\u4e09\u4e2a\u6570\u503c\u5206\u522b\u4e3a\u00a0\u00a01\u5206\u949f\u30015\u5206\u949f\u300115\u5206\u949f\u524d\u5230\u73b0\u5728\u7684\u5e73\u5747\u503c\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>2.\u00a0\u7b2c\u4e8c\u3001\u4e09\u884c\u4e3a\u8fdb\u7a0b\u548cCPU\u7684\u4fe1\u606f<\/p>\n<p>\u5f53\u6709\u591a\u4e2aCPU\u65f6\uff0c\u8fd9\u4e9b\u5185\u5bb9\u53ef\u80fd\u4f1a\u8d85\u8fc7\u4e24\u884c\u3002\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"113\">\n<p align=\"left\">Tasks: 29 total<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u8fdb\u7a0b\u603b\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">1 running<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">28 sleeping<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u7761\u7720\u7684\u8fdb\u7a0b\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0 stopped<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u505c\u6b62\u7684\u8fdb\u7a0b\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0 zombie<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u50f5\u5c38\u8fdb\u7a0b\u6570<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">Cpu(s): 0.3% us<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u7528\u6237\u7a7a\u95f4\u5360\u7528CPU\u767e\u5206\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">1.0% sy<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u5185\u6838\u7a7a\u95f4\u5360\u7528CPU\u767e\u5206\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0.0% ni<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u7528\u6237\u8fdb\u7a0b\u7a7a\u95f4\u5185\u6539\u53d8\u8fc7\u4f18\u5148\u7ea7\u7684\u8fdb\u7a0b\u5360\u7528CPU\u767e\u5206\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">98.7% id<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u7a7a\u95f2CPU\u767e\u5206\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0.0% wa<\/p>\n<\/td>\n<td width=\"387\">\n<p align=\"left\">\u7b49\u5f85\u8f93\u5165\u8f93\u51fa\u7684CPU\u65f6\u95f4\u767e\u5206\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0.0% hi<\/p>\n<\/td>\n<td width=\"387\"><\/td>\n<\/tr>\n<tr>\n<td width=\"113\">\n<p align=\"left\">0.0% si<\/p>\n<\/td>\n<td width=\"387\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>3.\u00a0\u7b2c\u56db\u4e94\u884c\u4e3a\u5185\u5b58\u4fe1\u606f\u3002<\/p>\n<p>\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"142\">\n<p align=\"left\">Mem:\u00a0191272k total<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u7269\u7406\u5185\u5b58\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">173656k used<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">17616k free<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u7a7a\u95f2\u5185\u5b58\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">22052k buffers<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u7528\u4f5c\u5185\u6838\u7f13\u5b58\u7684\u5185\u5b58\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">Swap:\u00a0192772k total<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u4ea4\u6362\u533a\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">0k used<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u4f7f\u7528\u7684\u4ea4\u6362\u533a\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">192772k free<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u7a7a\u95f2\u4ea4\u6362\u533a\u603b\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"142\">\n<p align=\"left\">123988k cached<\/p>\n<\/td>\n<td width=\"436\">\n<p align=\"left\">\u7f13\u51b2\u7684\u4ea4\u6362\u533a\u603b\u91cf\u3002\u00a0\u5185\u5b58\u4e2d\u7684\u5185\u5bb9\u88ab\u6362\u51fa\u5230\u4ea4\u6362\u533a\uff0c\u800c\u540e\u53c8\u88ab\u6362\u5165\u5230\u5185\u5b58\uff0c\u4f46\u4f7f\u7528\u8fc7\u7684\u4ea4\u6362\u533a\u5c1a\u672a\u88ab\u8986\u76d6\uff0c\u00a0\u8be5\u6570\u503c\u5373\u4e3a\u8fd9\u4e9b<strong>\u5185\u5bb9\u5df2\u5b58\u5728\u4e8e\u5185\u5b58\u4e2d<\/strong>\u7684\u4ea4\u6362\u533a\u7684\u5927\u5c0f\u3002\u76f8\u5e94\u7684\u5185\u5b58\u518d\u6b21\u88ab\u6362\u51fa\u65f6\u53ef\u4e0d\u5fc5\u518d\u5bf9\u4ea4\u6362\u533a\u5199\u5165\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e8c.\u00a0\u00a0\u8fdb\u7a0b\u4fe1\u606f<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"95\">\u5217\u540d<\/td>\n<td width=\"423\">\u542b\u4e49<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">PID<\/td>\n<td width=\"423\">\u8fdb\u7a0bid<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">PPID<\/td>\n<td width=\"423\">\u7236\u8fdb\u7a0bid<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">RUSER<\/td>\n<td width=\"423\">Real user name<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">UID<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u6240\u6709\u8005\u7684\u7528\u6237id<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">USER<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u6240\u6709\u8005\u7684\u7528\u6237\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">GROUP<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u6240\u6709\u8005\u7684\u7ec4\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">TTY<\/td>\n<td width=\"423\">\u542f\u52a8\u8fdb\u7a0b\u7684\u7ec8\u7aef\u540d\u3002\u4e0d\u662f\u4ece\u7ec8\u7aef\u542f\u52a8\u7684\u8fdb\u7a0b\u5219\u663e\u793a\u4e3a\u00a0?<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">PR<\/td>\n<td width=\"423\">\u4f18\u5148\u7ea7<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">NI<\/td>\n<td width=\"423\">nice\u503c\u3002\u8d1f\u503c\u8868\u793a\u9ad8\u4f18\u5148\u7ea7\uff0c\u6b63\u503c\u8868\u793a\u4f4e\u4f18\u5148\u7ea7<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">P<\/td>\n<td width=\"423\">\u6700\u540e\u4f7f\u7528\u7684CPU\uff0c\u4ec5\u5728\u591aCPU\u73af\u5883\u4e0b\u6709\u610f\u4e49<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">%CPU<\/td>\n<td width=\"423\">\u4e0a\u6b21\u66f4\u65b0\u5230\u73b0\u5728\u7684CPU\u65f6\u95f4\u5360\u7528\u767e\u5206\u6bd4<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">TIME<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684CPU\u65f6\u95f4\u603b\u8ba1\uff0c\u5355\u4f4d\u79d2<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">TIME+<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684CPU\u65f6\u95f4\u603b\u8ba1\uff0c\u5355\u4f4d1\/100\u79d2<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">%MEM<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58\u767e\u5206\u6bd4<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">VIRT<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684\u865a\u62df\u5185\u5b58\u603b\u91cf\uff0c\u5355\u4f4dkb\u3002VIRT=SWAP+RES<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">SWAP<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684\u865a\u62df\u5185\u5b58\u4e2d\uff0c\u88ab\u6362\u51fa\u7684\u5927\u5c0f\uff0c\u5355\u4f4dkb\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">RES<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u4f7f\u7528\u7684\u3001\u672a\u88ab\u6362\u51fa\u7684\u7269\u7406\u5185\u5b58\u5927\u5c0f\uff0c\u5355\u4f4dkb\u3002RES=CODE+DATA<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">CODE<\/td>\n<td width=\"423\">\u53ef\u6267\u884c\u4ee3\u7801\u5360\u7528\u7684\u7269\u7406\u5185\u5b58\u5927\u5c0f\uff0c\u5355\u4f4dkb<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">DATA<\/td>\n<td width=\"423\">\u53ef\u6267\u884c\u4ee3\u7801\u4ee5\u5916\u7684\u90e8\u5206(\u6570\u636e\u6bb5+\u6808)\u5360\u7528\u7684\u7269\u7406\u5185\u5b58\u5927\u5c0f\uff0c\u5355\u4f4dkb<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">SHR<\/td>\n<td width=\"423\">\u5171\u4eab\u5185\u5b58\u5927\u5c0f\uff0c\u5355\u4f4dkb<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">nFLT<\/td>\n<td width=\"423\">\u9875\u9762\u9519\u8bef\u6b21\u6570<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">nDRT<\/td>\n<td width=\"423\">\u6700\u540e\u4e00\u6b21\u5199\u5165\u5230\u73b0\u5728\uff0c\u88ab\u4fee\u6539\u8fc7\u7684\u9875\u9762\u6570\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">S<\/td>\n<td width=\"423\">\u8fdb\u7a0b\u72b6\u6001\u3002<br \/>\nD=\u4e0d\u53ef\u4e2d\u65ad\u7684\u7761\u7720\u72b6\u6001<br \/>\nR=\u8fd0\u884c<br \/>\nS=\u7761\u7720<br \/>\nT=\u8ddf\u8e2a\/\u505c\u6b62<br \/>\nZ=\u50f5\u5c38\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">COMMAND<\/td>\n<td width=\"423\">\u547d\u4ee4\u540d\/\u547d\u4ee4\u884c<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">WCHAN<\/td>\n<td width=\"423\">\u82e5\u8be5\u8fdb\u7a0b\u5728\u7761\u7720\uff0c\u5219\u663e\u793a\u7761\u7720\u4e2d\u7684\u7cfb\u7edf\u51fd\u6570\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"95\">Flags<\/td>\n<td width=\"423\">\u4efb\u52a1\u6807\u5fd7\uff0c\u53c2\u8003\u00a0sched.h<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>top\u00a0\u7684man\u00a0\u547d\u4ee4\u89e3\u91ca\u5982\u4e0b\uff1a<\/p>\n<p>Listed below are top&#8217;s available fields.\u00a0\u00a0They are always associated with the\u00a0\u00a0letter\u00a0\u00a0shown,\u00a0\u00a0regardless\u00a0\u00a0of the position you may have established for them with the\u00a0&#8216;o&#8217; (Order fields) interactive command.Any field is selectable as the sort field, and you control whether they are\u00a0\u00a0sorted high-to-low\u00a0\u00a0or\u00a0\u00a0low-to-high.\u00a0\u00a0\u00a0For\u00a0\u00a0additional\u00a0\u00a0information on sort provisions see\u00a0\u00a0topic 3c. TASK Area Commands.<\/p>\n<p>a: PID\u00a0\u00a0&#8212;\u00a0\u00a0Process Id<\/p>\n<p>The task&#8217;s unique process ID, which periodically wraps, though never\u00a0\u00a0restarting at zero.<\/p>\n<p>b: PPID\u00a0\u00a0&#8212;\u00a0\u00a0Parent Process Pid<\/p>\n<p>The process ID of a task&#8217;s parent.<\/p>\n<p>c: RUSER\u00a0\u00a0&#8212;\u00a0\u00a0Real User Name<\/p>\n<p>The real user name of the task&#8217;s owner.<\/p>\n<p>d: UID\u00a0\u00a0&#8212;\u00a0\u00a0User Id<\/p>\n<p>The effective user ID of the task&#8217;s owner.<\/p>\n<p>e: USER\u00a0\u00a0&#8212;\u00a0\u00a0User Name<\/p>\n<p>The effective user name of the task&#8217;s owner.<\/p>\n<p>f: GROUP\u00a0\u00a0&#8212;\u00a0\u00a0Group Name<\/p>\n<p>The effective group name of the task&#8217;s owner.<\/p>\n<p>g: TTY\u00a0\u00a0&#8212;\u00a0\u00a0Controlling Tty<\/p>\n<p>The\u00a0\u00a0name of the controlling terminal.\u00a0\u00a0This is usually the device (serial port, pty, etc.) from which the process was started, and which it uses\u00a0\u00a0for\u00a0\u00a0input\u00a0\u00a0oroutput.\u00a0\u00a0\u00a0However,\u00a0\u00a0a task need not be associated with a terminal, in which case you&#8217;ll see &#8216;?&#8217; displayed.<\/p>\n<p>h: PR\u00a0\u00a0&#8212;\u00a0\u00a0Priority<\/p>\n<p>The priority of the task.<\/p>\n<p>i: NI\u00a0\u00a0&#8212;\u00a0\u00a0Nice value<\/p>\n<p>The nice value of the task.\u00a0\u00a0\u00a0A\u00a0\u00a0negative\u00a0\u00a0nice\u00a0\u00a0value\u00a0\u00a0means\u00a0\u00a0higher\u00a0\u00a0priority, whereas\u00a0\u00a0a\u00a0\u00a0positive nice value means lower priority.\u00a0\u00a0Zero in this field simply means priority will not be adjusted in determining a task&#8217;s dispatchability.<\/p>\n<p>j: P\u00a0\u00a0&#8212;\u00a0\u00a0Last used CPU (SMP)<\/p>\n<p>A number representing the last used processor.\u00a0\u00a0In a true SMP\u00a0\u00a0environment\u00a0\u00a0this will likely change frequently since the kernel intentionally uses weak affinity. Also, the very act of running top may break this weak affinity\u00a0\u00a0and\u00a0\u00a0cause\u00a0\u00a0more processes\u00a0\u00a0to change CPUs more often (because of the extra demand for cpu time).<\/p>\n<p>k: %CPU\u00a0\u00a0&#8212;\u00a0\u00a0CPU usage<\/p>\n<p>The task&#8217;s share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU time.\u00a0\u00a0In a true SMP environment, if &#8216;Irix mode&#8217; is Off, top will operate in &#8216;Solaris mode&#8217; where a task&#8217;s cpu usage will be divided by\u00a0\u00a0the\u00a0\u00a0total\u00a0\u00a0number\u00a0\u00a0of\u00a0\u00a0CPUs.\u00a0\u00a0\u00a0You toggle &#8216;Irix\/Solaris&#8217; modes with the &#8216;I&#8217; interactive command.<\/p>\n<p>l: TIME\u00a0\u00a0&#8212;\u00a0\u00a0CPU Time<\/p>\n<p>Total CPU time the task has used since it started.\u00a0\u00a0When\u00a0\u00a0&#8216;Cumulative\u00a0\u00a0mode&#8217;\u00a0\u00a0is On,\u00a0\u00a0each\u00a0\u00a0process is listed with the cpu time that it and its dead children has used.\u00a0\u00a0You toggle &#8216;Cumulative mode&#8217; with &#8216;S&#8217;, which is a command-line option and an interactive command.\u00a0\u00a0See the &#8216;S&#8217; interactive command for additional information regarding this mode.<\/p>\n<p>m: TIME+\u00a0\u00a0&#8212;\u00a0\u00a0CPU Time, hundredths<\/p>\n<p>The same as &#8216;TIME&#8217;, but reflecting more granularity through hundredths of a sec\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ond.<\/p>\n<p>n: %MEM\u00a0\u00a0&#8212;\u00a0\u00a0Memory usage (RES)<\/p>\n<p>A task&#8217;s currently used share of available physical memory.<\/p>\n<p>o: VIRT\u00a0\u00a0&#8212;\u00a0\u00a0Virtual Image (kb)<\/p>\n<p>The total amount of virtual memory used by the task.\u00a0\u00a0It includes all code, data and shared libraries plus pages that have\u00a0\u00a0been\u00a0\u00a0swapped\u00a0\u00a0out.\u00a0\u00a0(Note:\u00a0\u00a0you\u00a0\u00a0can define\u00a0\u00a0the STATSIZE=1 environment variable and the VIRT will be calculated from the \/proc\/#\/state VmSize field.)<\/p>\n<p>VIRT = SWAP + RES.<\/p>\n<p>p: SWAP\u00a0\u00a0&#8212;\u00a0\u00a0Swapped size (kb)<\/p>\n<p>The swapped out portion of a task&#8217;s total virtual memory image.<\/p>\n<p>q: RES\u00a0\u00a0&#8212;\u00a0\u00a0Resident size (kb)<\/p>\n<p>The non-swapped physical memory a task has used.<\/p>\n<p>RES = CODE + DATA.<\/p>\n<p>r: CODE\u00a0\u00a0&#8212;\u00a0\u00a0Code size (kb)<\/p>\n<p>The amount of physical memory devoted to executable\u00a0\u00a0code,\u00a0\u00a0also\u00a0\u00a0known\u00a0\u00a0as\u00a0\u00a0the&#8217;text resident set&#8217; size or TRS.<\/p>\n<p>s: DATA\u00a0\u00a0&#8212;\u00a0\u00a0Data+Stack size (kb)<\/p>\n<p>The\u00a0\u00a0amount of physical memory devoted to other than executable code, also known the &#8216;data resident set&#8217; size or DRS.<\/p>\n<p>t: SHR\u00a0\u00a0&#8212;\u00a0\u00a0Shared Mem size (kb)<\/p>\n<p>The amount of shared memory used by a task.\u00a0\u00a0\u00a0It\u00a0\u00a0simply\u00a0\u00a0reflects\u00a0\u00a0memory\u00a0\u00a0that could be potentially shared with other processes.<\/p>\n<p>u: nFLT\u00a0\u00a0&#8212;\u00a0\u00a0Page Fault count<\/p>\n<p>The\u00a0\u00a0number\u00a0\u00a0of\u00a0\u00a0major\u00a0\u00a0page faults that have occurred for a task.\u00a0\u00a0A page fault occurs when a process attempts to read from or write to a virtual page\u00a0\u00a0that\u00a0\u00a0is not\u00a0\u00a0currently\u00a0\u00a0present\u00a0\u00a0in\u00a0\u00a0its address space.\u00a0\u00a0A major page fault is when disk access is involved in making that page available.<\/p>\n<p>v: nDRT\u00a0\u00a0&#8212;\u00a0\u00a0Dirty Pages count<\/p>\n<p>The number of pages that have been modified since\u00a0\u00a0they\u00a0\u00a0were\u00a0\u00a0last\u00a0\u00a0written\u00a0\u00a0to disk.\u00a0\u00a0\u00a0Dirty\u00a0\u00a0pages\u00a0\u00a0must\u00a0\u00a0be written to disk before the corresponding physical memory location can be used for some other virtual page.<\/p>\n<p>w: S\u00a0\u00a0&#8212;\u00a0\u00a0Process Status<\/p>\n<p>The status of the task which can be one of:<\/p>\n<p>&#8216;D&#8217; = uninterruptible sleep<\/p>\n<p>&#8216;R&#8217; = running<\/p>\n<p>&#8216;S&#8217; = sleeping<\/p>\n<p>&#8216;T&#8217; = traced or stopped<\/p>\n<p>&#8216;Z&#8217; = zombie<\/p>\n<p>Tasks shown as running should be more properly thought of as &#8216;ready to run&#8217;\u00a0\u00a0&#8211;their\u00a0\u00a0task_struct is simply represented on the Linux run-queue.\u00a0\u00a0Even without a true SMP machine, you may see numerous tasks in this state\u00a0\u00a0depending\u00a0\u00a0on\u00a0\u00a0top&#8217;s delay interval and nice value.<\/p>\n<p>x: Command\u00a0\u00a0&#8212;\u00a0\u00a0Command line or Program name<\/p>\n<p>Display the command line used to start a task or the name of the associated program.\u00a0\u00a0You toggle between command line and name with &#8216;c&#8217;, which is both\u00a0\u00a0a\u00a0\u00a0command-line option and an interactive command. When\u00a0\u00a0you&#8217;ve\u00a0\u00a0chosen\u00a0\u00a0to display command lines, processes without a command line (like kernel threads) will be shown with only the program name\u00a0\u00a0in\u00a0\u00a0parentheses, as in this example:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0( mdrecoveryd ) Either\u00a0\u00a0form\u00a0\u00a0of\u00a0\u00a0display is subject to potential truncation if it&#8217;s too long to fit in this field&#8217;s\u00a0\u00a0current\u00a0\u00a0width.\u00a0\u00a0\u00a0That\u00a0\u00a0width\u00a0\u00a0depends\u00a0\u00a0upon\u00a0\u00a0other\u00a0\u00a0fields\u00a0\u00a0selected, their order and the current screen width.<\/p>\n<p>Note: The &#8216;Command&#8217; field\/column is unique, in that it is not fixed-width.\u00a0\u00a0When displayed, this column will be allocated all remaining screen width (up\u00a0\u00a0to\u00a0\u00a0the maximum\u00a0\u00a0512\u00a0\u00a0characters)\u00a0\u00a0to\u00a0\u00a0provide for the potential growth of program names into command lines.<\/p>\n<p>y: WCHAN\u00a0\u00a0&#8212;\u00a0\u00a0Sleeping in Function<\/p>\n<p>Depending on the availability of the kernel link map (&#8216;System.map&#8217;), this\u00a0\u00a0field will\u00a0\u00a0show\u00a0\u00a0the\u00a0\u00a0name or the address of the kernel function in which the task is currently sleeping.\u00a0\u00a0Running tasks will display a dash (&#8216;-&#8216;) in this column.<\/p>\n<p>Note: By displaying this field, top&#8217;s own working set will be increased by\u00a0\u00a0over 700Kb.\u00a0\u00a0\u00a0Your\u00a0\u00a0only\u00a0\u00a0means of reducing that overhead will be to stop and restart\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0top.<\/p>\n<p>z: Flags\u00a0\u00a0&#8212;\u00a0\u00a0Task Flags<\/p>\n<p>This column represents the task&#8217;s current scheduling flags which\u00a0\u00a0are\u00a0\u00a0expressed in\u00a0\u00a0hexadecimal\u00a0\u00a0notation and with zeros suppressed.\u00a0\u00a0These flags are officially documented in &lt;linux\/sched.h&gt;.\u00a0\u00a0Less formal documentation can also be\u00a0\u00a0found\u00a0\u00a0on the &#8216;Fields select&#8217; and &#8216;Order fields&#8217; screens.<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4ec5\u663e\u793a\u6bd4\u8f83\u91cd\u8981\u7684\u00a0\u00a0PID\u3001USER\u3001PR\u3001NI\u3001VIRT\u3001RES\u3001SHR\u3001S\u3001%CPU\u3001%MEM\u3001TIME+\u3001COMMAND\u00a0\u00a0\u5217\u3002<\/p>\n<p>2.1\u00a0\u7528\u5feb\u6377\u952e\u66f4\u6539\u663e\u793a\u5185\u5bb9\u3002<br \/>\n\uff081\uff09\u66f4\u6539\u663e\u793a\u5185\u5bb9\u901a\u8fc7\u00a0f\u952e\u53ef\u4ee5\u9009\u62e9\u663e\u793a\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u6309\u00a0f\u00a0\u952e\u4e4b\u540e\u4f1a\u663e\u793a\u5217\u7684\u5217\u8868\uff0c\u6309\u00a0a-z\u00a0\u00a0\u5373\u53ef\u663e\u793a\u6216\u9690\u85cf\u5bf9\u5e94\u7684\u5217\uff0c\u6700\u540e\u6309\u56de\u8f66\u952e\u786e\u5b9a\u3002<\/p>\n<p>\uff082\uff09\u6309o\u952e\u53ef\u4ee5\u6539\u53d8\u5217\u7684\u663e\u793a\u987a\u5e8f\u3002<\/p>\n<p>\u6309\u5c0f\u5199\u7684\u00a0a-z\u00a0\u53ef\u4ee5\u5c06\u76f8\u5e94\u7684\u5217\u5411\u53f3\u79fb\u52a8\uff0c\u800c\u5927\u5199\u7684\u00a0A-Z\u00a0\u00a0\u53ef\u4ee5\u5c06\u76f8\u5e94\u7684\u5217\u5411\u5de6\u79fb\u52a8\u3002\u6700\u540e\u6309\u56de\u8f66\u952e\u786e\u5b9a\u3002<\/p>\n<p>\u6309\u5927\u5199\u7684\u00a0F\u00a0\u6216\u00a0O\u00a0\u952e\uff0c\u7136\u540e\u6309\u00a0a-z\u00a0\u53ef\u4ee5\u5c06\u8fdb\u7a0b\u6309\u7167\u76f8\u5e94\u7684\u5217\u8fdb\u884c\u6392\u5e8f\u3002\u800c\u5927\u5199\u7684\u00a0\u00a0R\u00a0\u952e\u53ef\u4ee5\u5c06\u5f53\u524d\u7684\u6392\u5e8f\u5012\u8f6c\u3002<\/p>\n<p>\u8bbe\u7f6e\u5b8c\u6309\u56de\u8f66\u8fd4\u56de\u754c\u9762\u3002<\/p>\n<p>\u4e09.\u00a0\u00a0\u547d\u4ee4\u4f7f\u7528<\/p>\n<p>\u8be6\u7ec6\u5185\u5bb9\u53ef\u4ee5\u53c2\u8003MAN\u00a0\u5e2e\u52a9\u6587\u6863\u3002\u8fd9\u91cc\u5217\u4e3e\u90e8\u5206\u5185\u5bb9\uff1a<\/p>\n<p>\u547d\u4ee4\u683c\u5f0f\uff1a<\/p>\n<p>top [-] [d] [p] [q] [c] [C] [S]\u00a0\u00a0\u00a0\u00a0[n]<\/p>\n<p>\u53c2\u6570\u8bf4\u660e\uff1a<\/p>\n<p>d\uff1a\u00a0\u00a0\u6307\u5b9a\u6bcf\u4e24\u6b21\u5c4f\u5e55\u4fe1\u606f\u5237\u65b0\u4e4b\u95f4\u7684\u65f6\u95f4\u95f4\u9694\u3002\u5f53\u7136\u7528\u6237\u53ef\u4ee5\u4f7f\u7528s\u4ea4\u4e92\u547d\u4ee4\u6765\u6539\u53d8\u4e4b\u3002<\/p>\n<p>p\uff1a\u00a0\u00a0\u901a\u8fc7\u6307\u5b9a\u76d1\u63a7\u8fdb\u7a0bID\u6765\u4ec5\u4ec5\u76d1\u63a7\u67d0\u4e2a\u8fdb\u7a0b\u7684\u72b6\u6001\u3002<\/p>\n<p>q\uff1a\u8be5\u9009\u9879\u5c06\u4f7ftop\u6ca1\u6709\u4efb\u4f55\u5ef6\u8fdf\u7684\u8fdb\u884c\u5237\u65b0\u3002\u5982\u679c\u8c03\u7528\u7a0b\u5e8f\u6709\u8d85\u7ea7\u7528\u6237\u6743\u9650\uff0c\u90a3\u4e48top\u5c06\u4ee5\u5c3d\u53ef\u80fd\u9ad8\u7684\u4f18\u5148\u7ea7\u8fd0\u884c\u3002<\/p>\n<p>S\uff1a\u00a0\u6307\u5b9a\u7d2f\u8ba1\u6a21\u5f0f<\/p>\n<p>s\u00a0\uff1a\u00a0\u4f7ftop\u547d\u4ee4\u5728\u5b89\u5168\u6a21\u5f0f\u4e2d\u8fd0\u884c\u3002\u8fd9\u5c06\u53bb\u9664\u4ea4\u4e92\u547d\u4ee4\u6240\u5e26\u6765\u7684\u6f5c\u5728\u5371\u9669\u3002<\/p>\n<p>i\uff1a\u00a0\u00a0\u4f7ftop\u4e0d\u663e\u793a\u4efb\u4f55\u95f2\u7f6e\u6216\u8005\u50f5\u6b7b\u8fdb\u7a0b\u3002<\/p>\n<p>c\uff1a\u00a0\u00a0\u663e\u793a\u6574\u4e2a\u547d\u4ee4\u884c\u800c\u4e0d\u53ea\u662f\u663e\u793a\u547d\u4ee4\u540d<\/p>\n<p>\u5728top\u547d\u4ee4\u7684\u663e\u793a\u7a97\u53e3\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u5b57\u6bcd\uff0c\u8fdb\u884c\u4e00\u4e9b\u4ea4\u4e92\uff1a<\/p>\n<p>\u5e2e\u52a9\u6587\u6863\u5982\u4e0b\uff1a<\/p>\n<p>Help for Interactive Commands &#8211; procps version 3.2.7<\/p>\n<p>Window 1:Def: Cumulative mode Off.\u00a0\u00a0System: Delay 4.0 secs; Secure mode Off.<\/p>\n<p>Z,B\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Global: &#8216;Z&#8217; change color mappings; &#8216;B&#8217; disable\/enable bold<\/p>\n<p>l,t,m\u00a0\u00a0\u00a0\u00a0\u00a0Toggle Summaries: &#8216;l&#8217; load avg; &#8216;t&#8217; task\/cpu stats; &#8216;m&#8217; mem info<\/p>\n<p>1,I\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Toggle SMP view: &#8216;1&#8217; single\/separate states; &#8216;I&#8217; Irix\/Solaris mode<\/p>\n<p>f,o\u00a0\u00a0\u00a0\u00a0\u00a0. Fields\/Columns: &#8216;f&#8217; add or remove; &#8216;o&#8217; change display order<\/p>\n<p>F or O\u00a0\u00a0. Select sort field<\/p>\n<p>&lt;,&gt;\u00a0\u00a0\u00a0\u00a0\u00a0. Move sort field: &#8216;&lt;&#8216; next col left; &#8216;&gt;&#8217; next col right<\/p>\n<p>R,H\u00a0\u00a0\u00a0\u00a0\u00a0. Toggle: &#8216;R&#8217; normal\/reverse sort; &#8216;H&#8217; show threads<\/p>\n<p>c,i,S\u00a0\u00a0\u00a0. Toggle: &#8216;c&#8217; cmd name\/line; &#8216;i&#8217; idle tasks; &#8216;S&#8217; cumulative time<\/p>\n<p>x,y\u00a0\u00a0\u00a0\u00a0\u00a0. Toggle highlights: &#8216;x&#8217; sort field; &#8216;y&#8217; running tasks<\/p>\n<p>z,b\u00a0\u00a0\u00a0\u00a0\u00a0. Toggle: &#8216;z&#8217; color\/mono; &#8216;b&#8217; bold\/reverse (only if &#8216;x&#8217; or &#8216;y&#8217;)<\/p>\n<p>u\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0. Show specific user only<\/p>\n<p>n or #\u00a0\u00a0. Set maximum tasks displayed<\/p>\n<p>k,r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Manipulate tasks: &#8216;k&#8217; kill; &#8216;r&#8217; renice<\/p>\n<p>d or s\u00a0\u00a0\u00a0\u00a0Set update interval<\/p>\n<p>W\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Write configuration file<\/p>\n<p>q\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Quit<\/p>\n<p>( commands shown with &#8216;.&#8217; require a visible task display window )<\/p>\n<p>Press &#8216;h&#8217; or &#8216;?&#8217; for help with Windows,<\/p>\n<p>h\u6216\u8005?\u00a0\u00a0:\u00a0\u663e\u793a\u5e2e\u52a9\u753b\u9762\uff0c\u7ed9\u51fa\u4e00\u4e9b\u7b80\u77ed\u7684\u547d\u4ee4\u603b\u7ed3\u8bf4\u660e\u3002<\/p>\n<p>k\u00a0\u00a0\uff1a\u7ec8\u6b62\u4e00\u4e2a\u8fdb\u7a0b\u3002\u7cfb\u7edf\u5c06\u63d0\u793a\u7528\u6237\u8f93\u5165\u9700\u8981\u7ec8\u6b62\u7684\u8fdb\u7a0bPID\uff0c\u4ee5\u53ca\u9700\u8981\u53d1\u9001\u7ed9\u8be5\u8fdb\u7a0b\u4ec0\u4e48\u6837\u7684\u4fe1\u53f7\u3002\u4e00\u822c\u7684\u7ec8\u6b62\u8fdb\u7a0b\u53ef\u4ee5\u4f7f\u752815\u4fe1\u53f7\uff1b\u5982\u679c\u4e0d\u80fd\u6b63\u5e38\u7ed3\u675f\u90a3\u5c31\u4f7f\u7528\u4fe1\u53f79\u5f3a\u5236\u7ed3\u675f\u8be5\u8fdb\u7a0b\u3002\u9ed8\u8ba4\u503c\u662f\u4fe1\u53f715\u3002\u5728\u5b89\u5168\u6a21\u5f0f\u4e2d\u6b64\u547d\u4ee4\u88ab\u5c4f\u853d\u3002<\/p>\n<p>i\uff1a\u5ffd\u7565\u95f2\u7f6e\u548c\u50f5\u6b7b\u8fdb\u7a0b\u3002\u8fd9\u662f\u4e00\u4e2a\u5f00\u5173\u5f0f\u547d\u4ee4\u3002<\/p>\n<p>q\uff1a\u00a0\u00a0\u9000\u51fa\u7a0b\u5e8f\u3002<\/p>\n<p>r\uff1a\u00a0\u00a0\u91cd\u65b0\u5b89\u6392\u4e00\u4e2a\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\u522b\u3002\u7cfb\u7edf\u63d0\u793a\u7528\u6237\u8f93\u5165\u9700\u8981\u6539\u53d8\u7684\u8fdb\u7a0bPID\u4ee5\u53ca\u9700\u8981\u8bbe\u7f6e\u7684\u8fdb\u7a0b\u4f18\u5148\u7ea7\u503c\u3002\u8f93\u5165\u4e00\u4e2a\u6b63\u503c\u5c06\u4f7f\u4f18\u5148\u7ea7\u964d\u4f4e\uff0c\u53cd\u4e4b\u5219\u53ef\u4ee5\u4f7f\u8be5\u8fdb\u7a0b\u62e5\u6709\u66f4\u9ad8\u7684\u4f18\u5148\u6743\u3002\u9ed8\u8ba4\u503c\u662f10\u3002<\/p>\n<p>S\uff1a\u5207\u6362\u5230\u7d2f\u8ba1\u6a21\u5f0f\u3002<\/p>\n<p>s\u00a0:\u00a0\u00a0\u6539\u53d8\u4e24\u6b21\u5237\u65b0\u4e4b\u95f4\u7684\u5ef6\u8fdf\u65f6\u95f4\u3002\u7cfb\u7edf\u5c06\u63d0\u793a\u7528\u6237\u8f93\u5165\u65b0\u7684\u65f6\u95f4\uff0c\u5355\u4f4d\u4e3as\u3002\u5982\u679c\u6709\u5c0f\u6570\uff0c\u5c31\u6362\u7b97\u6210ms\u3002\u8f93\u51650\u503c\u5219\u7cfb\u7edf\u5c06\u4e0d\u65ad\u5237\u65b0\uff0c\u9ed8\u8ba4\u503c\u662f5\u00a0s\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\u5982\u679c\u8bbe\u7f6e\u592a\u5c0f\u7684\u65f6\u95f4\uff0c\u5f88\u53ef\u80fd\u4f1a\u5f15\u8d77\u4e0d\u65ad\u5237\u65b0\uff0c\u4ece\u800c\u6839\u672c\u6765\u4e0d\u53ca\u770b\u6e05\u663e\u793a\u7684\u60c5\u51b5\uff0c\u800c\u4e14\u7cfb\u7edf\u8d1f\u8f7d\u4e5f\u4f1a\u5927\u5927\u589e\u52a0\u3002<\/p>\n<p>f\u6216\u8005F\u00a0:\u4ece\u5f53\u524d\u663e\u793a\u4e2d\u6dfb\u52a0\u6216\u8005\u5220\u9664\u9879\u76ee\u3002<\/p>\n<p>o\u6216\u8005O\u00a0\u00a0:\u6539\u53d8\u663e\u793a\u9879\u76ee\u7684\u987a\u5e8f\u3002<\/p>\n<p>l:\u00a0\u5207\u6362\u663e\u793a\u5e73\u5747\u8d1f\u8f7d\u548c\u542f\u52a8\u65f6\u95f4\u4fe1\u606f\u3002\u5373\u663e\u793a\u5f71\u85cf\u7b2c\u4e00\u884c<\/p>\n<p>m\uff1a\u00a0\u5207\u6362\u663e\u793a\u5185\u5b58\u4fe1\u606f\u3002\u5373\u663e\u793a\u5f71\u85cf\u5185\u5b58\u884c<\/p>\n<p>t\u00a0\uff1a\u00a0\u5207\u6362\u663e\u793a\u8fdb\u7a0b\u548cCPU\u72b6\u6001\u4fe1\u606f\u3002\u5373\u663e\u793a\u5f71\u85cfCPU\u884c<\/p>\n<p>c\uff1a\u00a0\u00a0\u5207\u6362\u663e\u793a\u547d\u4ee4\u540d\u79f0\u548c\u5b8c\u6574\u547d\u4ee4\u884c\u3002\u00a0\u663e\u793a\u5b8c\u6574\u7684\u547d\u4ee4\u3002\u00a0\u8fd9\u4e2a\u529f\u80fd\u5f88\u6709\u7528\u3002<\/p>\n<p>M\u00a0\uff1a\u00a0\u6839\u636e\u9a7b\u7559\u5185\u5b58\u5927\u5c0f\u8fdb\u884c\u6392\u5e8f\u3002<\/p>\n<p>P\uff1a\u6839\u636eCPU\u4f7f\u7528\u767e\u5206\u6bd4\u5927\u5c0f\u8fdb\u884c\u6392\u5e8f\u3002<\/p>\n<p>T\uff1a\u00a0\u6839\u636e\u65f6\u95f4\/\u7d2f\u8ba1\u65f6\u95f4\u8fdb\u884c\u6392\u5e8f\u3002<\/p>\n<p>W\uff1a\u00a0\u00a0\u5c06\u5f53\u524d\u8bbe\u7f6e\u5199\u5165~\/.toprc\u6587\u4ef6\u4e2d\u3002\u8fd9\u662f\u5199top\u914d\u7f6e\u6587\u4ef6\u7684\u63a8\u8350\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TOP\u662f\u4e00\u4e2a\u52a8\u6001\u663e\u793a\u8fc7\u7a0b,\u5373\u53ef\u4ee5\u901a\u8fc7\u7528\u6237\u6309\u952e\u6765\u4e0d\u65ad\u5237\u65b0\u5f53\u524d\u72b6\u6001.\u5982\u679c\u5728\u524d\u53f0\u6267\u884c\u8be5 &hellip; <a href=\"https:\/\/www.cnmiss.cn\/?p=393\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-xxbj","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=393"}],"version-history":[{"count":0,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts\/393\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}