Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.64 KB | None | 0 0
  1. root@XanBox:~# free -m
  2. total used free shared buffers cached
  3. Mem: 1992 1838 153 0 1 65
  4. -/+ buffers/cache: 1771 220
  5. Swap: 1952 26 1926
  6.  
  7. root@XanBox:~# top -o +%MEM
  8. top - 12:12:13 up 15 days, 20:39, 3 users, load average: 0.00, 0.06, 0.77
  9. Tasks: 126 total, 1 running, 125 sleeping, 0 stopped, 0 zombie
  10. %Cpu(s): 0.1 us, 0.2 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.1 hi, 0.0 si, 0.0 st
  11. KiB Mem: 2040256 total, 1881228 used, 159028 free, 1348 buffers
  12. KiB Swap: 1999868 total, 27436 used, 1972432 free. 67228 cached Mem
  13.  
  14. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  15. 11502 root 20 0 107692 4252 3240 S 0.0 0.2 0:00.06 sshd: deployer [priv]
  16. 11336 root 20 0 107692 4248 3240 S 0.0 0.2 0:00.06 sshd: deployer [priv]
  17. 11841 root 20 0 107692 4248 3240 S 0.0 0.2 0:00.06 sshd: deployer [priv]
  18. 11301 root 20 0 26772 3436 2688 S 0.7 0.2 0:01.30 /usr/sbin/openvpn --writepid /var/run/openvpn.zanview.com.pid --status /var/run/openvpn.zanview.com.status 10 --cd /etc/openvpn --config /etc/openvpn/z+
  19. 11385 deployer 20 0 19972 2392 1708 S 0.0 0.1 0:00.03 -bash
  20. 11553 deployer 20 0 19972 2388 1708 S 0.0 0.1 0:00.03 -bash
  21. 11890 deployer 20 0 19972 2388 1708 S 0.0 0.1 0:00.02 -bash
  22. 11889 deployer 20 0 108008 2280 944 S 0.0 0.1 0:00.25 sshd: deployer@pts/3
  23. 12009 root 20 0 18308 2228 1608 S 0.0 0.1 0:00.09 -su
  24. 12114 root 20 0 18308 2192 1564 S 0.0 0.1 0:00.04 -su
  25. 12007 root 20 0 67796 2136 1644 S 0.0 0.1 0:00.01 sudo su -
  26. 12112 root 20 0 67796 2136 1644 S 0.0 0.1 0:00.01 sudo su -
  27. 12008 root 20 0 67376 2016 1528 S 0.0 0.1 0:00.01 su -
  28. 12113 root 20 0 67376 2012 1528 S 0.0 0.1 0:00.01 su -
  29. 1 root 20 0 33644 1988 764 S 0.0 0.1 2:29.77 /sbin/init
  30. 11552 deployer 20 0 107692 1952 936 S 0.0 0.1 0:00.07 sshd: deployer@pts/2
  31. 11384 deployer 20 0 107692 1948 936 S 0.0 0.1 0:00.06 sshd: deployer@pts/0
  32. 12182 root 20 0 20012 1516 1012 R 0.7 0.1 0:00.08 top -o +%MEM
  33. 1152 message+ 20 0 39508 1448 920 S 0.0 0.1 1:40.01 dbus-daemon --system --fork
  34. 1791 root 20 0 279832 1312 816 S 0.0 0.1 1:16.18 /usr/lib/policykit-1/polkitd --no-debug
  35. 1186 root 20 0 43736 984 796 S 0.0 0.0 1:13.07 /lib/systemd/systemd-logind
  36. 1212 syslog 20 0 256228 688 184 S 0.0 0.0 1:41.29 rsyslogd
  37. 5077 root 20 0 25324 648 520 S 0.0 0.0 0:34.35 /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
  38. 336 root 20 0 19476 512 376 S 0.0 0.0 0:07.40 upstart-udev-bridge --daemon
  39. 342 root 20 0 51228 468 344 S 0.0 0.0 0:00.85 /lib/systemd/systemd-udevd --daemon
  40. 1097 root 20 0 15276 364 256 S 0.0 0.0 0:06.39 upstart-file-bridge --daemon
  41. 4921 root 20 0 61364 364 240 S 0.0 0.0 0:00.05 /usr/sbin/sshd -D
  42. 745 root 20 0 15364 252 180 S 0.0 0.0 0:06.51 upstart-socket-bridge --daemon
  43. 4947 root 20 0 23656 168 100 S 0.0 0.0 0:14.70 cron
  44. 11290 daemon 20 0 19140 164 0 S 0.0 0.0 0:00.00 atd
  45. 850 root 20 0 23420 80 16 S 0.0 0.0 0:11.00 rpcbind
  46. 872 statd 20 0 21544 8 4 S 0.0 0.0 0:00.00 rpc.statd -L
  47. 4880 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty4
  48. 4883 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty5
  49. 4890 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty2
  50. 4891 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty3
  51. 4894 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty6
  52. 4919 root 20 0 4368 4 0 S 0.0 0.0 0:00.00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
  53. 5224 root 20 0 24048 4 0 S 0.0 0.0 0:00.00 /usr/sbin/rpc.mountd --manage-gids
  54. 6160 root 20 0 14540 4 0 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty1
  55. 2 root 20 0 0 0 0 S 0.0 0.0 0:03.44 [kthreadd]
  56. 3 root 20 0 0 0 0 S 0.0 0.0 1:04.63 [ksoftirqd/0]
  57. 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 [kworker/0:0H]
  58. 7 root 20 0 0 0 0 S 0.0 0.0 16:03.32 [rcu_sched]
  59. 8 root 20 0 0 0 0 S 0.0 0.0 4:08.79 [rcuos/0]
  60. 9 root 20 0 0 0 0 S 0.0 0.0 4:10.42 [rcuos/1]
  61. 10 root 20 0 0 0 0 S 0.0 0.0 4:30.71 [rcuos/2]
  62.  
  63. root@XanBox:~# cat /proc/meminfo
  64. MemTotal: 2040256 kB
  65. MemFree: 159004 kB
  66. Buffers: 1348 kB
  67. Cached: 67228 kB
  68. SwapCached: 9940 kB
  69. Active: 10788 kB
  70. Inactive: 81120 kB
  71. Active(anon): 1900 kB
  72. Inactive(anon): 21512 kB
  73. Active(file): 8888 kB
  74. Inactive(file): 59608 kB
  75. Unevictable: 0 kB
  76. Mlocked: 0 kB
  77. SwapTotal: 1999868 kB
  78. SwapFree: 1972432 kB
  79. Dirty: 0 kB
  80. Writeback: 0 kB
  81. AnonPages: 14496 kB
  82. Mapped: 8160 kB
  83. Shmem: 80 kB
  84. Slab: 33472 kB
  85. SReclaimable: 17660 kB
  86. SUnreclaim: 15812 kB
  87. KernelStack: 1064 kB
  88. PageTables: 3992 kB
  89. NFS_Unstable: 0 kB
  90. Bounce: 0 kB
  91. WritebackTmp: 0 kB
  92. CommitLimit: 3019996 kB
  93. Committed_AS: 94520 kB
  94. VmallocTotal: 34359738367 kB
  95. VmallocUsed: 535936 kB
  96. VmallocChunk: 34359147772 kB
  97. HardwareCorrupted: 0 kB
  98. AnonHugePages: 0 kB
  99. HugePages_Total: 0
  100. HugePages_Free: 0
  101. HugePages_Rsvd: 0
  102. HugePages_Surp: 0
  103. Hugepagesize: 2048 kB
  104. DirectMap4k: 62144 kB
  105. DirectMap2M: 2025472 kB
  106.  
  107. # ps -e -o pid,vsz,comm= | sort -n -k 2
  108. 2 0 kthreadd
  109. 3 0 ksoftirqd/0
  110. 5 0 kworker/0:0H
  111. 7 0 rcu_sched
  112. 8 0 rcuos/0
  113. 9 0 rcuos/1
  114. 10 0 rcuos/2
  115. 11 0 rcuos/3
  116. 12 0 rcu_bh
  117. 13 0 rcuob/0
  118. 14 0 rcuob/1
  119. 15 0 rcuob/2
  120. 16 0 rcuob/3
  121. 17 0 migration/0
  122. 18 0 watchdog/0
  123. 19 0 watchdog/1
  124. 20 0 migration/1
  125. 21 0 ksoftirqd/1
  126. 23 0 kworker/1:0H
  127. 24 0 watchdog/2
  128. 25 0 migration/2
  129. 26 0 ksoftirqd/2
  130. 28 0 kworker/2:0H
  131. 29 0 watchdog/3
  132. 30 0 migration/3
  133. 31 0 ksoftirqd/3
  134. 32 0 kworker/3:0
  135. 33 0 kworker/3:0H
  136. 34 0 khelper
  137. 35 0 kdevtmpfs
  138. 36 0 netns
  139. 37 0 writeback
  140. 38 0 kintegrityd
  141. 39 0 bioset
  142. 41 0 kblockd
  143. 42 0 ata_sff
  144. 43 0 khubd
  145. 44 0 md
  146. 45 0 devfreq_wq
  147. 46 0 kworker/0:1
  148. 47 0 kworker/1:1
  149. 48 0 kworker/2:1
  150. 50 0 khungtaskd
  151. 51 0 kswapd0
  152. 52 0 ksmd
  153. 53 0 khugepaged
  154. 54 0 fsnotify_mark
  155. 55 0 ecryptfs-kthrea
  156. 56 0 crypto
  157. 68 0 kthrotld
  158. 70 0 scsi_eh_0
  159. 71 0 scsi_eh_1
  160. 92 0 deferwq
  161. 93 0 charger_manager
  162. 94 0 kworker/1:2
  163. 95 0 kworker/3:2
  164. 149 0 kpsmoused
  165. 155 0 jbd2/sda1-8
  166. 156 0 ext4-rsv-conver
  167. 316 0 jbd2/sda3-8
  168. 317 0 ext4-rsv-conver
  169. 565 0 kmemstick
  170. 770 0 cfg80211
  171. 818 0 hd-audio0
  172. 853 0 kworker/2:2
  173. 953 0 rpciod
  174. PID VSZ
  175. 1714 0 kauditd
  176. 11335 0 kworker/0:2
  177. 12202 0 kworker/u8:2
  178. 20228 0 kworker/u8:0
  179. 25529 0 kworker/u9:1
  180. 28305 0 kworker/u9:2
  181. 29820 0 nfsd4
  182. 29821 0 nfsd4_callbacks
  183. 29822 0 lockd
  184. 29823 0 nfsd
  185. 29824 0 nfsd
  186. 29825 0 nfsd
  187. 29826 0 nfsd
  188. 29827 0 nfsd
  189. 29828 0 nfsd
  190. 29829 0 nfsd
  191. 29830 0 nfsd
  192. 4919 4368 acpid
  193. 4074 7136 ps
  194. 6681 10232 dhclient
  195. 4880 14540 getty
  196. 4883 14540 getty
  197. 4890 14540 getty
  198. 4891 14540 getty
  199. 4894 14540 getty
  200. 6160 14540 getty
  201. 14486 15260 upstart-socket-
  202. 14489 15276 upstart-file-br
  203. 12009 18308 bash
  204. 12114 18308 bash
  205. 12289 18308 bash
  206. 4075 19008 sort
  207. 11290 19140 atd
  208. 14483 19476 upstart-udev-br
  209. 11385 19972 bash
  210. 11553 19972 bash
  211. 11890 19972 bash
  212. 29503 21544 rpc.statd
  213. 2847 23384 htop
  214. 850 23420 rpcbind
  215. 29588 23480 rpc.idmapd
  216. 4947 23656 cron
  217. 29833 24048 rpc.mountd
  218. 5077 25324 hostapd
  219. 11301 26912 openvpn
  220. 1 37356 init
  221. 1152 39508 dbus-daemon
  222. 14673 43452 systemd-logind
  223. 14450 51204 systemd-udevd
  224. 4921 61364 sshd
  225. 12008 67376 su
  226. 12113 67376 su
  227. 12288 67376 su
  228. 12007 67796 sudo
  229. 12112 67796 sudo
  230. 12287 67796 sudo
  231. 11336 107692 sshd
  232. 11384 107692 sshd
  233. 11502 107692 sshd
  234. 11841 107692 sshd
  235. 11552 108008 sshd
  236. 11889 108008 sshd
  237. 1212 256228 rsyslogd
  238. 1791 279832 polkitd
  239. 4064 335684 whoopsie
  240.  
  241. root@XanBox:~# ps aux
  242. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
  243. root 1 0.0 0.0 33644 1988 ? Ss Jul21 2:29 /sbin/init
  244. root 2 0.0 0.0 0 0 ? S Jul21 0:03 [kthreadd]
  245. root 3 0.0 0.0 0 0 ? S Jul21 1:04 [ksoftirqd/0]
  246. root 5 0.0 0.0 0 0 ? S< Jul21 0:00 [kworker/0:0H]
  247. root 7 0.0 0.0 0 0 ? S Jul21 16:03 [rcu_sched]
  248. root 8 0.0 0.0 0 0 ? S Jul21 4:08 [rcuos/0]
  249. root 9 0.0 0.0 0 0 ? S Jul21 4:10 [rcuos/1]
  250. root 10 0.0 0.0 0 0 ? S Jul21 4:30 [rcuos/2]
  251. root 11 0.0 0.0 0 0 ? S Jul21 4:28 [rcuos/3]
  252. root 12 0.0 0.0 0 0 ? S Jul21 0:00 [rcu_bh]
  253. root 13 0.0 0.0 0 0 ? S Jul21 0:00 [rcuob/0]
  254. root 14 0.0 0.0 0 0 ? S Jul21 0:00 [rcuob/1]
  255. root 15 0.0 0.0 0 0 ? S Jul21 0:00 [rcuob/2]
  256. root 16 0.0 0.0 0 0 ? S Jul21 0:00 [rcuob/3]
  257. root 17 0.0 0.0 0 0 ? S Jul21 0:13 [migration/0]
  258. root 18 0.0 0.0 0 0 ? S Jul21 0:08 [watchdog/0]
  259. root 19 0.0 0.0 0 0 ? S Jul21 0:07 [watchdog/1]
  260. root 20 0.0 0.0 0 0 ? S Jul21 0:13 [migration/1]
  261. root 21 0.0 0.0 0 0 ? S Jul21 1:03 [ksoftirqd/1]
  262. root 23 0.0 0.0 0 0 ? S< Jul21 0:00 [kworker/1:0H]
  263. root 24 0.0 0.0 0 0 ? S Jul21 0:07 [watchdog/2]
  264. root 25 0.0 0.0 0 0 ? S Jul21 0:23 [migration/2]
  265. root 26 0.0 0.0 0 0 ? S Jul21 1:01 [ksoftirqd/2]
  266. root 28 0.0 0.0 0 0 ? S< Jul21 0:00 [kworker/2:0H]
  267. root 29 0.0 0.0 0 0 ? S Jul21 0:07 [watchdog/3]
  268. root 30 0.0 0.0 0 0 ? S Jul21 0:23 [migration/3]
  269. root 31 0.0 0.0 0 0 ? S Jul21 1:03 [ksoftirqd/3]
  270. root 32 0.0 0.0 0 0 ? S Jul21 0:00 [kworker/3:0]
  271. root 33 0.0 0.0 0 0 ? S< Jul21 0:00 [kworker/3:0H]
  272. root 34 0.0 0.0 0 0 ? S< Jul21 0:00 [khelper]
  273. root 35 0.0 0.0 0 0 ? S Jul21 0:00 [kdevtmpfs]
  274. root 36 0.0 0.0 0 0 ? S< Jul21 0:00 [netns]
  275. root 37 0.0 0.0 0 0 ? S< Jul21 0:00 [writeback]
  276. root 38 0.0 0.0 0 0 ? S< Jul21 0:00 [kintegrityd]
  277. root 39 0.0 0.0 0 0 ? S< Jul21 0:00 [bioset]
  278. root 41 0.0 0.0 0 0 ? S< Jul21 0:00 [kblockd]
  279. root 42 0.0 0.0 0 0 ? S< Jul21 0:00 [ata_sff]
  280. root 43 0.0 0.0 0 0 ? S Jul21 0:00 [khubd]
  281. root 44 0.0 0.0 0 0 ? S< Jul21 0:00 [md]
  282. root 45 0.0 0.0 0 0 ? S< Jul21 0:00 [devfreq_wq]
  283. root 46 0.0 0.0 0 0 ? S Jul21 18:51 [kworker/0:1]
  284. root 47 0.0 0.0 0 0 ? S Jul21 0:00 [kworker/1:1]
  285. root 48 0.0 0.0 0 0 ? S Jul21 1:14 [kworker/2:1]
  286. root 50 0.0 0.0 0 0 ? S Jul21 0:01 [khungtaskd]
  287. root 51 0.4 0.0 0 0 ? S Jul21 95:51 [kswapd0]
  288. root 52 0.0 0.0 0 0 ? SN Jul21 0:00 [ksmd]
  289. root 53 0.0 0.0 0 0 ? SN Jul21 0:28 [khugepaged]
  290. root 54 0.0 0.0 0 0 ? S Jul21 0:00 [fsnotify_mark]
  291. root 55 0.0 0.0 0 0 ? S Jul21 0:00 [ecryptfs-kthrea]
  292. root 56 0.0 0.0 0 0 ? S< Jul21 0:00 [crypto]
  293. root 68 0.0 0.0 0 0 ? S< Jul21 0:00 [kthrotld]
  294. root 70 0.0 0.0 0 0 ? S Jul21 0:00 [scsi_eh_0]
  295. root 71 0.0 0.0 0 0 ? S Jul21 0:00 [scsi_eh_1]
  296. root 92 0.0 0.0 0 0 ? S< Jul21 0:00 [deferwq]
  297. root 93 0.0 0.0 0 0 ? S< Jul21 0:00 [charger_manager]
  298. root 94 0.0 0.0 0 0 ? S Jul21 1:05 [kworker/1:2]
  299. root 95 0.0 0.0 0 0 ? S Jul21 1:08 [kworker/3:2]
  300. root 149 0.0 0.0 0 0 ? S< Jul21 0:00 [kpsmoused]
  301. root 155 0.0 0.0 0 0 ? S Jul21 3:39 [jbd2/sda1-8]
  302. root 156 0.0 0.0 0 0 ? S< Jul21 0:00 [ext4-rsv-conver]
  303. root 316 0.0 0.0 0 0 ? S Jul21 1:28 [jbd2/sda3-8]
  304. root 317 0.0 0.0 0 0 ? S< Jul21 0:00 [ext4-rsv-conver]
  305. root 336 0.0 0.0 19476 512 ? S Jul21 0:07 upstart-udev-bridge --daemon
  306. root 342 0.0 0.0 51228 468 ? Ss Jul21 0:00 /lib/systemd/systemd-udevd --daemon
  307. root 565 0.0 0.0 0 0 ? S< Jul21 0:00 [kmemstick]
  308. root 745 0.0 0.0 15364 252 ? S Jul21 0:06 upstart-socket-bridge --daemon
  309. root 770 0.0 0.0 0 0 ? S< Jul21 0:00 [cfg80211]
  310. root 818 0.0 0.0 0 0 ? S< Jul21 0:00 [hd-audio0]
  311. root 850 0.0 0.0 23420 80 ? Ss Jul21 0:11 rpcbind
  312. root 853 0.0 0.0 0 0 ? S Jul21 0:00 [kworker/2:2]
  313. statd 872 0.0 0.0 21544 8 ? Ss Jul21 0:00 rpc.statd -L
  314. root 953 0.0 0.0 0 0 ? S< Jul21 0:00 [rpciod]
  315. root 981 0.0 0.0 0 0 ? S< Jul21 0:00 [nfsiod]
  316. root 1097 0.0 0.0 15276 364 ? S Jul21 0:06 upstart-file-bridge --daemon
  317. message+ 1152 0.0 0.0 39508 1448 ? Ss Jul21 1:40 dbus-daemon --system --fork
  318. root 1157 0.0 0.0 23480 0 ? Ss Jul21 0:00 rpc.idmapd
  319. root 1186 0.0 0.0 43736 984 ? Ss Jul21 1:13 /lib/systemd/systemd-logind
  320. syslog 1212 0.0 0.0 256228 688 ? Ssl Jul21 1:41 rsyslogd
  321. root 1714 0.0 0.0 0 0 ? S Jul21 0:00 [kauditd]
  322. root 1791 0.0 0.0 279832 1312 ? Sl Jul21 1:16 /usr/lib/policykit-1/polkitd --no-debug
  323. root 4880 0.0 0.0 14540 4 tty4 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty4
  324. root 4883 0.0 0.0 14540 4 tty5 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty5
  325. root 4890 0.0 0.0 14540 4 tty2 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty2
  326. root 4891 0.0 0.0 14540 4 tty3 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty3
  327. root 4894 0.0 0.0 14540 4 tty6 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty6
  328. root 4919 0.0 0.0 4368 4 ? Ss Jul21 0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
  329. root 4921 0.0 0.0 61364 364 ? Ss Jul21 0:00 /usr/sbin/sshd -D
  330. root 4947 0.0 0.0 23656 168 ? Ss Jul21 0:14 cron
  331. root 5077 0.0 0.0 25324 648 ? Ss Jul21 0:34 /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
  332. root 5190 0.0 0.0 0 0 ? S< Jul21 0:00 [nfsd4]
  333. root 5191 0.0 0.0 0 0 ? S< Jul21 0:00 [nfsd4_callbacks]
  334. root 5192 0.0 0.0 0 0 ? S Jul21 0:00 [lockd]
  335. root 5197 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  336. root 5198 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  337. root 5199 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  338. root 5200 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  339. root 5201 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  340. root 5202 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  341. root 5203 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  342. root 5204 0.0 0.0 0 0 ? S Jul21 0:00 [nfsd]
  343. root 5224 0.0 0.0 24048 4 ? Ss Jul21 0:00 /usr/sbin/rpc.mountd --manage-gids
  344. root 6160 0.0 0.0 14540 4 tty1 Ss+ Jul21 0:00 /sbin/getty -8 38400 tty1
  345. root 6681 0.0 0.0 10232 0 ? Ss 11:07 0:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
  346. root 9452 0.0 0.0 0 0 ? S 11:28 0:00 [kworker/u8:1]
  347. root 9943 0.0 0.0 0 0 ? S 11:42 0:00 [kworker/u8:0]
  348. daemon 11290 0.0 0.0 19140 164 ? Ss 11:59 0:00 atd
  349. root 11301 0.2 0.1 26772 3436 ? Ss 12:00 0:01 /usr/sbin/openvpn --writepid /var/run/openvpn.zanview.com.pid --status /var/run/openvpn.zanview.com.status 10 --cd /etc/openvpn --config /etc/openvpn/zanvie
  350. root 11335 0.0 0.0 0 0 ? S 12:01 0:00 [kworker/0:2]
  351. root 11336 0.0 0.2 107692 4248 ? Ss 12:01 0:00 sshd: deployer [priv]
  352. deployer 11384 0.0 0.0 107692 1948 ? S 12:01 0:00 sshd: deployer@pts/0
  353. deployer 11385 0.0 0.1 19972 2392 pts/0 Ss+ 12:01 0:00 -bash
  354. root 11502 0.0 0.2 107692 4252 ? Ss 12:01 0:00 sshd: deployer [priv]
  355. deployer 11552 0.0 0.0 107692 1952 ? S 12:01 0:00 sshd: deployer@pts/2
  356. deployer 11553 0.0 0.1 19972 2388 pts/2 Ss 12:01 0:00 -bash
  357. root 11841 0.0 0.2 107692 4248 ? Ss 12:02 0:00 sshd: deployer [priv]
  358. deployer 11889 0.0 0.1 108008 2280 ? S 12:02 0:00 sshd: deployer@pts/3
  359. deployer 11890 0.0 0.1 19972 2388 pts/3 Ss 12:02 0:00 -bash
  360. root 12007 0.0 0.1 67796 2136 pts/3 S 12:02 0:00 sudo su -
  361. root 12008 0.0 0.0 67376 2016 pts/3 S 12:02 0:00 su -
  362. root 12009 0.0 0.1 18308 2228 pts/3 S+ 12:02 0:00 -su
  363. root 12112 0.0 0.1 67796 2136 pts/2 S 12:08 0:00 sudo su -
  364. root 12113 0.0 0.0 67376 2012 pts/2 S 12:08 0:00 su -
  365. root 12114 0.0 0.1 18308 2192 pts/2 S 12:08 0:00 -su
  366. root 12180 0.0 0.0 15568 1160 pts/2 R+ 12:09 0:00 ps aux
  367. root 25529 0.0 0.0 0 0 ? S< Jul28 0:09 [kworker/u9:1]
  368. root 28305 0.0 0.0 0 0 ? S< Aug05 0:00 [kworker/u9:2]
  369.  
  370. root@XanBox:~/ps_mem# python ps_mem.py
  371. Private + Shared = RAM used Program
  372.  
  373. 144.0 KiB + 9.5 KiB = 153.5 KiB acpid
  374. 172.0 KiB + 29.5 KiB = 201.5 KiB atd
  375. 248.0 KiB + 35.0 KiB = 283.0 KiB cron
  376. 272.0 KiB + 84.0 KiB = 356.0 KiB upstart-file-bridge
  377. 276.0 KiB + 84.5 KiB = 360.5 KiB upstart-socket-bridge
  378. 280.0 KiB + 102.5 KiB = 382.5 KiB upstart-udev-bridge
  379. 332.0 KiB + 54.5 KiB = 386.5 KiB rpc.idmapd
  380. 368.0 KiB + 91.5 KiB = 459.5 KiB rpcbind
  381. 388.0 KiB + 251.5 KiB = 639.5 KiB systemd-logind
  382. 668.0 KiB + 43.5 KiB = 711.5 KiB hostapd
  383. 576.0 KiB + 157.5 KiB = 733.5 KiB systemd-udevd
  384. 676.0 KiB + 65.5 KiB = 741.5 KiB rpc.mountd
  385. 604.0 KiB + 163.0 KiB = 767.0 KiB rpc.statd
  386. 908.0 KiB + 62.5 KiB = 970.5 KiB dbus-daemon [updated]
  387. 932.0 KiB + 117.0 KiB = 1.0 MiB getty [updated] (6)
  388. 1.0 MiB + 69.5 KiB = 1.1 MiB openvpn
  389. 1.0 MiB + 137.0 KiB = 1.2 MiB polkitd
  390. 1.5 MiB + 202.0 KiB = 1.7 MiB htop
  391. 1.4 MiB + 306.5 KiB = 1.7 MiB whoopsie
  392. 1.4 MiB + 279.0 KiB = 1.7 MiB su (3)
  393. 1.5 MiB + 268.5 KiB = 1.8 MiB sudo (3)
  394. 2.2 MiB + 11.5 KiB = 2.3 MiB dhclient
  395. 3.9 MiB + 741.0 KiB = 4.6 MiB bash (6)
  396. 5.3 MiB + 254.5 KiB = 5.5 MiB init
  397. 2.7 MiB + 3.3 MiB = 6.1 MiB sshd (7)
  398. 18.1 MiB + 56.5 KiB = 18.2 MiB rsyslogd
  399. ---------------------------------
  400. 53.7 MiB
  401. =================================
  402.  
  403. root@XanBox:~# slabtop -sc
  404. Active / Total Objects (% used) : 131306 / 137558 (95.5%)
  405. Active / Total Slabs (% used) : 3888 / 3888 (100.0%)
  406. Active / Total Caches (% used) : 63 / 105 (60.0%)
  407. Active / Total Size (% used) : 27419.31K / 29580.53K (92.7%)
  408. Minimum / Average / Maximum Object : 0.01K / 0.21K / 8.00K
  409.  
  410. OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
  411. 8288 7975 96% 0.57K 296 28 4736K inode_cache
  412. 14259 12858 90% 0.19K 679 21 2716K dentry
  413. 2384 1943 81% 0.96K 149 16 2384K ext4_inode_cache
  414. 20916 20494 97% 0.11K 581 36 2324K sysfs_dir_cache
  415. 624 554 88% 2.00K 39 16 1248K kmalloc-2048
  416. 195 176 90% 5.98K 39 5 1248K task_struct
  417. 6447 6387 99% 0.19K 307 21 1228K kmalloc-192
  418. 2128 1207 56% 0.55K 76 28 1216K radix_tree_node
  419. 768 761 99% 1.00K 48 16 768K kmalloc-1024
  420. 176 155 88% 4.00K 22 8 704K kmalloc-4096
  421. 1100 1100 100% 0.63K 44 25 704K proc_inode_cache
  422. 1008 1008 100% 0.66K 42 24 672K shmem_inode_cache
  423. 2640 2262 85% 0.25K 165 16 660K kmalloc-256
  424. 300 300 100% 2.06K 20 15 640K sighand_cache
  425. 5967 5967 100% 0.10K 153 39 612K buffer_head
  426. 1152 1053 91% 0.50K 72 16 576K kmalloc-512
  427. 3810 3810 100% 0.13K 127 30 508K ext4_allocation_context
  428. 60 60 100% 8.00K 15 4 480K kmalloc-8192
  429. 225 225 100% 2.06K 15 15 480K idr_layer_cache
  430. 7616 7324 96% 0.06K 119 64 476K kmalloc-64
  431. 700 700 100% 0.62K 28 25 448K sock_inode_cache
  432. 252 252 100% 1.75K 14 18 448K TCP
  433. 8925 8544 95% 0.05K 105 85 420K shared_policy_node
  434. 3072 2351 76% 0.12K 96 32 384K kmalloc-128
  435. 360 360 100% 1.06K 12 30 384K signal_cache
  436. 432 337 78% 0.88K 24 18 384K mm_struct
  437.  
  438. sync; sync; sync; echo 3 > /proc/sys/vm/drop_caches
  439.  
  440. sudo sysctl -w vm.swappiness=100
  441.  
  442. cat /proc/sys/vm/swappiness
  443.  
  444. sudo sysctl -w vm.swappiness=100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement