SHARE
TWEET

Untitled

a guest Jan 28th, 2014 139 Never
  1. [root@foxtrot www]# free -m
  2.              total       used       free     shared    buffers     cached
  3. Mem:          1000        864        135          0         54        544
  4. -/+ buffers/cache:        265        735
  5. Swap:          255          4        251
  6. [root@foxtrot www]# ps auxf | sort -nr -k 4 | head -5
  7. mysql    25073  1.2  3.4 137708 35512 ?        Sl    2013 2234:07  \_ /usr/libexec/mysqld
  8. apache   32631  0.6  3.1  77208 31848 ?        S    14:16   0:13  \_ /usr/sbin/httpd
  9. apache     515  0.5  2.9  77548 30292 ?        S    14:21   0:09  \_ /usr/sbin/httpd
  10. apache     494  0.7  2.9  77292 30060 ?        S    14:21   0:12  \_ /usr/sbin/httpd
  11. apache    1917  0.4  2.8  77036 29444 ?        R    14:47   0:00  \_ /usr/sbin/httpd
  12. [root@foxtrot www]# vmstat 1 20
  13. procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
  14.  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
  15.  1  0   4128 139620  56240 557344    0    0     0     1    0    0  0  0 100  0  0
  16.  0  0   4128 139680  56240 557368    0    0     0     0   37   32  0  0 100  0  0
  17.  0  0   4128 139680  56240 557384    0    0     0     0   65   50  0  0 100  0  0
  18.  0  0   4128 139680  56240 557384    0    0     0    56   22   33  0  0 100  0  0
  19.  0  0   4128 138804  56240 557384    0    0     0     0  175  129  0  0 100  0  0
  20.  0  0   4128 137540  56240 557384    0    0     0     0  436  342  0  0 100  0  0
  21.  0  0   4128 137448  56240 557384    0    0     0     0  145  124  0  0 100  0  0
  22.  0  0   4128 137448  56240 557384    0    0     0     0   23   30  0  0 100  0  0
  23.  0  0   4128 137448  56240 557384    0    0     0     0  212  199  0  0 100  0  0
  24.  0  0   4128 137448  56240 557384    0    0     0     0   18   20  0  0 100  0  0
  25.  1  0   4128 137448  56240 557384    0    0     0    16 2252  802 12  1 87  0  0
  26.  0  0   4128 137408  56240 557384    0    0     0    44 1632  678  9  1 91  0  0
  27.  0  0   4128 137456  56240 557384    0    0     0     0   61   46  0  0 100  0  0
  28.  0  0   4128 136908  56240 557384    0    0     0     8 1039  701  4  1 95  0  0
  29.  0  0   4128 137028  56240 557384    0    0     0     0   82   61  0  0 100  0  0
  30.  1  0   4128 136988  56240 557384    0    0     0    72 2398  898 13  1 86  0  0
  31.  0  0   4128 136988  56240 557388    0    0     0     8  714  398  3  0 97  0  0
  32.  0  0   4128 136980  56240 557392    0    0     0     0   51   44  0  0 100  0  0
  33.  0  0   4128 137020  56240 557392    0    0     0     4   21   27  0  0 100  0  0
  34.  0  0   4128 137020  56240 557392    0    0     0     0   26   23  0  0 100  0  0
  35. [root@foxtrot www]# iostat -c 1 20
  36. Linux 3.9.3-x86-linode52 (foxtrot)      01/28/2014      _i686_  (8 CPU)
  37.  
  38. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  39.            0.14    0.00    0.02    0.00    0.01   99.83
  40.  
  41. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  42.            0.00    0.00    0.00    0.12    0.00   99.88
  43.  
  44. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  45.            0.12    0.00    0.12    0.00    0.00   99.75
  46.  
  47. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  48.            0.25    0.00    0.13    0.00    0.00   99.62
  49.  
  50. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  51.            0.00    0.00    0.12    0.00    0.00   99.88
  52.  
  53. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  54.            0.12    0.00    0.00    0.00    0.12   99.75
  55.  
  56. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  57.            0.00    0.00    0.12    7.24    0.00   92.63
  58.  
  59. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  60.            3.63    0.00    0.38    0.13    0.00   95.86
  61.  
  62. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  63.           13.52    0.00    1.25    0.00    0.13   85.11
  64.  
  65. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  66.           13.78    0.00    0.75    0.00    0.13   85.34
  67.  
  68. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  69.           17.84    0.00    1.38    0.00    0.13   80.65
  70.  
  71. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  72.           13.66    0.00    0.88    0.00    0.25   85.21
  73.  
  74. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  75.           13.66    0.00    0.88    0.00    0.00   85.46
  76.  
  77. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  78.           13.44    0.00    1.01    0.00    0.13   85.43
  79.  
  80. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  81.           13.66    0.00    1.00    0.00    0.13   85.21
  82.  
  83. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  84.           13.41    0.00    0.88    0.00    0.25   85.46
  85.  
  86. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  87.           12.25    0.00    0.75    0.00    0.12   86.88
  88.  
  89. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  90.            1.25    0.00    0.25    0.00    0.00   98.50
  91.  
  92. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  93.            0.00    0.00    0.00    0.00    0.00  100.00
  94.  
  95. avg-cpu:  %user   %nice %system %iowait  %steal   %idle
  96.            0.00    0.00    0.00    0.00    0.00  100.00
  97.  
  98. [root@foxtrot www]#
RAW Paste Data
Top