处理使用top提示terminal is not big enough

转载 2016年06月01日 15:31:04
问题现象:
top命令的输出结果缺省第三行是cpu(s),键盘按1可以在cpu总的使用情况与每个CPU具体情况之间来回切换。但是当cpu个数较多时,按1提示 Sorry, terminal is not big enough ,如下:
 

  1. top - 22:11:54 up 4 days,  7:46,  7 users,  load average: 2.82, 2.95, 3.39                                                            
  2. Tasks: 446 total,   3 running, 443 sleeping,   0 stopped,   0 zombie                                                                  
  3. Cpu(s):  8.6%us,  0.6%sy,  0.0%ni, 90.1%id,  0.5%wa,  0.0%hi,  0.2%si,  0.0%st                                                        
  4. Mem:  49414312k total, 49113184k used,   301128k free,   137872k buffers                                                              
  5. Swap: 12586916k total,      308k used, 12586608k free, 48041280k cached                                                               
  6.  Sorry, terminal is not big enough                                                                                                    
  7.   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                  
  8. 11347 oracle    21   0 34.1g 858m 854m R 100.0  1.8   0:04.23 oracle                                                                  
  9. 11363 oracle    19   0 34.1g 2.1g 2.1g R 99.7  4.4   0:08.62 oracle                                                                   
  10. 11269 oracle    15   0 34.1g 3.3g 3.3g S  7.6  7.0   0:14.57 oracle                                                                   
  11. 11345 oracle    16   0 34.1g  67m  62m D  6.6  0.1   0:00.42 oracle                                                                   
  12. 11343 oracle    15   0 34.1g  94m  90m S  5.3  0.2   0:00.80 oracle                                                                   
  13. 11271 oracle    15   0 34.1g 3.3g 3.3g S  1.7  7.0   0:18.36 oracle                                                                   
  14. 11221 oracle    15   0 34.1g 3.3g 3.3g S  1.0  7.1   0:14.75 oracle                                                                   
  15.  8563 oracle    16   0 34.2g  47m  43m S  0.7  0.1   0:01.63 oracle                                                                   
  16. 11333 oracle    15   0 34.1g  37m  33m S  0.7  0.1   0:00.14 oracle                                                                   
  17.  8581 oracle    15   0 34.2g  45m  20m S  0.3  0.1   0:00.66 oracle                                                                   
  18.  8932 root      16   0 13024 1608  932 S  0.3  0.0   0:11.10 top                                                                      
  19. 10291 oracle    16   0 13024 1560  932 S  0.3  0.0   0:06.21 top                                                                      
  20. 11189 root      15   0 13024 1560  932 R  0.3  0.0   0:00.45 top                                                                      
  21.     1 root      15   0 10368  736  612 S  0.0  0.0   0:04.51 init                                                                     
  22.     2 root      RT  -5     0    0    0 S  0.0  0.0   0:46.68 migration/

使用命令mpstat -P ALL查看总体及每个CPU的性能统计信息:
  1. [root@oracle-1003 ~]# mpstat -P ALL 
  2. Linux 2.6.18-308.el5 (oracle-1003)    01/12/2013  
  3.  
  4. 10:23:52 AM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s  
  5. 10:23:52 AM  all    1.21    0.00    0.20    0.96    0.00    0.02    0.00   97.60   1358.25  
  6. 10:23:52 AM    0    5.03    0.00    1.78    4.04    0.06    0.49    0.00   88.61   1212.48  
  7. 10:23:52 AM    1    0.76    0.00    0.12    0.48    0.00    0.00    0.00   98.64      0.00  
  8. 10:23:52 AM    2    0.64    0.00    0.11    0.87    0.00    0.00    0.00   98.38      0.00  
  9. 10:23:52 AM    3    0.70    0.00    0.08    0.36    0.00    0.00    0.00   98.86      0.00  
  10. 10:23:52 AM    4    0.60    0.00    0.11    0.81    0.00    0.00    0.00   98.49      0.00  
  11. 10:23:52 AM    5    0.64    0.00    0.13    0.36    0.00    0.00    0.00   98.88      0.00  
  12. 10:23:52 AM    6    0.66    0.00    0.10    0.88    0.00    0.00    0.00   98.36      0.00  
  13. 10:23:52 AM    7    0.75    0.00    0.07    0.41    0.00    0.00    0.00   98.76      0.00  
  14. 10:23:52 AM    8    0.80    0.00    0.12    1.00    0.00    0.00    0.00   98.08      0.00  
  15. 10:23:52 AM    9    0.97    0.00    0.09    0.45    0.00    0.00    0.00   98.49      0.00  
  16. 10:23:52 AM   10    1.12    0.00    0.15    1.28    0.00    0.00    0.00   97.45      0.00  


相关文章推荐

杭电1036 Average is not Fast Enough!

Average is not Fast Enough! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (...
  • z8110
  • z8110
  • 2015年11月13日 16:42
  • 153

A PH.D is Not Enough

  • 2009年07月30日 19:50
  • 1.99MB
  • 下载

A Phd Is Not Enough

  • 2009年03月07日 11:03
  • 3.64MB
  • 下载

Average is not Fast Enough!(格式化输入输出)

Average is not Fast Enough! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (...
  • cs_zlg
  • cs_zlg
  • 2012年08月13日 23:42
  • 915

Microsoft Office Excel cannot open or save any more documents because there is not enough available

Microsoft Office Excel (0x800A03EC) .NET导出Excel遇到的80070005错误的解决方法: 检索 COM 类工厂中 CLSID 为 {00024500-...

杭电OJ——1036 Average is not Fast Enough!

Average is not Fast Enough! Problem Description A relay is a race for two or more teams ...

HDU 1036 Average is not Fast Enough!

杭电OJ-1036_Average is not Fast Enough!

Average is not Fast Enough! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (J...
  • A__yes
  • A__yes
  • 2015年07月22日 11:21
  • 335
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:处理使用top提示terminal is not big enough
举报原因:
原因补充:

(最多只允许输入30个字)