Advertisement
interscot

Other commands

Aug 26th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. [root@server ~]# top
  2. top - 20:33:20 up 4 days, 18:42, 1 user, load average: 0.05, 0.13, 0.16
  3. Tasks: 265 total, 1 running, 264 sleeping, 0 stopped, 0 zombie
  4. Cpu(s): 4.0%us, 1.2%sy, 0.0%ni, 94.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
  5. Mem: 65920368k total, 25399872k used, 40520496k free, 863352k buffers
  6. Swap: 8388604k total, 0k used, 8388604k free, 10375216k cached
  7.  
  8. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  9. 28608 fcl 20 0 805m 296m 57m S 21.6 0.5 0:07.69 php-cgi
  10. 8103 mysql 20 0 18.9g 8.0g 5512 S 7.6 12.7 193:26.63 mysqld
  11. 28816 fcl 20 0 607m 97m 55m S 7.0 0.2 0:03.17 php-cgi
  12. 29491 apache 20 0 454m 121m 3464 S 3.0 0.2 0:19.40 httpd
  13. 29493 apache 20 0 454m 121m 3476 S 0.7 0.2 0:18.61 httpd
  14. 1711 root 20 0 18292 760 488 S 0.3 0.0 0:23.45 irqbalance
  15. 17865 postfix 20 0 79172 6668 4288 S 0.3 0.0 0:00.06 smtpd
  16. 1 root 20 0 19356 1568 1240 S 0.0 0.0 0:02.63 init
  17. 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
  18. 3 root RT 0 0 0 0 S 0.0 0.0 0:00.35 migration/0
  19. 4 root 20 0 0 0 0 S 0.0 0.0 0:02.21 ksoftirqd/0
  20. 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/0
  21. 6 root RT 0 0 0 0 S 0.0 0.0 0:00.35 watchdog/0
  22. 7 root RT 0 0 0 0 S 0.0 0.0 0:00.31 migration/1
  23. 8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/1
  24. 9 root 20 0 0 0 0 S 0.0 0.0 0:01.89 ksoftirqd/1
  25. 10 root RT 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/1
  26. 11 root RT 0 0 0 0 S 0.0 0.0 0:00.16 migration/2
  27. 12 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/2
  28. 13 root 20 0 0 0 0 S 0.0 0.0 0:02.22 ksoftirqd/2
  29. 14 root RT 0 0 0 0 S 0.0 0.0 0:00.36 watchdog/2
  30. 15 root RT 0 0 0 0 S 0.0 0.0 0:00.09 migration/3
  31. 16 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/3
  32. 17 root 20 0 0 0 0 S 0.0 0.0 0:00.32 ksoftirqd/3
  33. 18 root RT 0 0 0 0 S 0.0 0.0 0:00.33 watchdog/3
  34. 19 root RT 0 0 0 0 S 0.0 0.0 0:00.79 migration/4
  35. 20 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/4
  36. 21 root 20 0 0 0 0 S 0.0 0.0 0:01.09 ksoftirqd/4
  37. 22 root RT 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/4
  38. 23 root RT 0 0 0 0 S 0.0 0.0 0:01.10 migration/5
  39. 24 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/5
  40. 25 root 20 0 0 0 0 S 0.0 0.0 0:00.38 ksoftirqd/5
  41. 26 root RT 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/5
  42. 27 root RT 0 0 0 0 S 0.0 0.0 0:01.03 migration/6
  43. 28 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/6
  44. 29 root 20 0 0 0 0 S 0.0 0.0 0:02.20 ksoftirqd/6
  45. 30 root RT 0 0 0 0 S 0.0 0.0 0:00.34 watchdog/6
  46. 31 root RT 0 0 0 0 S 0.0 0.0 0:01.72 migration/7
  47. 32 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/7
  48. 33 root 20 0 0 0 0 S 0.0 0.0 0:00.66 ksoftirqd/7
  49. 34 root RT 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/7
  50. 35 root 20 0 0 0 0 S 0.0 0.0 0:11.92 events/0
  51. 36 root 20 0 0 0 0 S 0.0 0.0 0:11.52 events/1
  52. 37 root 20 0 0 0 0 S 0.0 0.0 0:11.76 events/2
  53. 38 root 20 0 0 0 0 S 0.0 0.0 0:10.43 events/3
  54. 39 root 20 0 0 0 0 S 0.0 0.0 0:11.36 events/4
  55. 40 root 20 0 0 0 0 S 0.0 0.0 0:10.39 events/5
  56. 41 root 20 0 0 0 0 S 0.0 0.0 0:18.06 events/6
  57. 42 root 20 0 0 0 0 S 0.0 0.0 0:17.74 events/7
  58. 43 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0
  59. 44 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/1
  60. 45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/2
  61. 46 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/3
  62. 47 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/4
  63. 48 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/5
  64. 49 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/6
  65.  
  66. =======================================
  67.  
  68. [root@server ~]# ulimit -a
  69. core file size (blocks, -c) 0
  70. data seg size (kbytes, -d) unlimited
  71. scheduling priority (-e) 0
  72. file size (blocks, -f) unlimited
  73. pending signals (-i) 257390
  74. max locked memory (kbytes, -l) 64
  75. max memory size (kbytes, -m) unlimited
  76. open files (-n) 1024
  77. pipe size (512 bytes, -p) 8
  78. POSIX message queues (bytes, -q) 819200
  79. real-time priority (-r) 0
  80. stack size (kbytes, -s) 10240
  81. cpu time (seconds, -t) unlimited
  82. max user processes (-u) 257390
  83. virtual memory (kbytes, -v) unlimited
  84. file locks (-x) unlimited
  85.  
  86. =======================================
  87.  
  88. [root@server ~]# iostat -x
  89. Linux 2.6.32-754.3.5.el6.x86_64 (ds-par-01.domain.com) 08/26/2018 _x86_64_ (8 CPU)
  90.  
  91. avg-cpu: %user %nice %system %iowait %steal %idle
  92. 2.72 0.08 1.16 0.01 0.00 96.03
  93.  
  94. Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await r_await w_await svctm %util
  95. sda 69.90 16.63 6.66 12.20 721.97 478.79 63.67 0.00 0.25 0.24 0.26 0.12 0.23
  96.  
  97. =======================================
  98.  
  99. [root@server ~]# df -h
  100. Filesystem Size Used Avail Use% Mounted on
  101. /dev/sda3 20G 6.5G 13G 35% /
  102. tmpfs 32G 4.0K 32G 1% /dev/shm
  103. /dev/sda1 380M 178M 182M 50% /boot
  104. /dev/sda2 430G 84G 325G 21% /var
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement