Skip to content

Instantly share code, notes, and snippets.

@DeanMarkTaylor
Created February 16, 2015 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeanMarkTaylor/9ceabc4ff4960f847570 to your computer and use it in GitHub Desktop.
Save DeanMarkTaylor/9ceabc4ff4960f847570 to your computer and use it in GitHub Desktop.
20150216 - Discourse Before Update
root@forum:~# top
top - 10:55:50 up 2 days, 23:13, 1 user, load average: 0.16, 0.23, 0.23
Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.1 us, 1.7 sy, 0.0 ni, 92.2 id, 0.9 wa, 0.1 hi, 0.0 si, 0.0 st
KiB Mem: 2049988 total, 1966960 used, 83028 free, 3208 buffers
KiB Swap: 2097148 total, 1847852 used, 249296 free. 320844 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27553 landsca+ 20 0 435592 69328 652 S 6.3 3.4 18:30.53 redis-server
1 root 20 0 33468 1064 152 S 0.0 0.1 0:14.71 init
2 root 20 0 0 0 0 S 0.0 0.0 0:01.76 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:12.42 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 3:16.15 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 1:34.66 rcuos/0
9 root 20 0 0 0 0 S 0.0 0.0 1:28.94 rcuos/1
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/1
13 root rt 0 0 0 0 S 0.0 0.0 0:04.24 migration/0
14 root rt 0 0 0 0 S 0.0 0.0 0:02.64 watchdog/0
15 root rt 0 0 0 0 S 0.0 0.0 0:02.35 watchdog/1
16 root rt 0 0 0 0 S 0.0 0.0 0:04.64 migration/1
17 root 20 0 0 0 0 S 0.0 0.0 0:05.23 ksoftirqd/1
19 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
20 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
22 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
23 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
24 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd
25 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset
26 root 0 -20 0 0 0 S 0.0 0.0 0:00.01 kworker/u5:0
27 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
28 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff
29 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
30 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 md
31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 devfreq_wq
35 root 20 0 0 0 0 S 0.0 0.0 0:01.21 khungtaskd
36 root 20 0 0 0 0 S 0.0 0.0 12:11.28 kswapd0
37 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
38 root 39 19 0 0 0 S 0.0 0.0 0:07.86 khugepaged
39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark
40 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ecryptfs-kthrea
41 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto
53 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kthrotld
55 root 20 0 0 0 0 S 0.0 0.0 0:00.00 vballoon
56 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
57 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
78 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 deferwq
79 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 charger_manager
127 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
root@forum:/# top
top - 15:56:45 up 2 days, 23:14, 0 users, load average: 0.06, 0.19, 0.22
Tasks: 40 total, 1 running, 39 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.1 us, 1.7 sy, 0.0 ni, 92.2 id, 0.9 wa, 0.1 hi, 0.0 si, 0.0 st
KiB Mem: 2049988 total, 1977312 used, 72676 free, 3856 buffers
KiB Swap: 2097148 total, 1849020 used, 248128 free. 320360 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 21092 0 0 S 0.0 0.0 0:00.02 boot
27 root 20 0 188 16 0 S 0.0 0.0 0:07.48 runsvdir
28 root 20 0 168 12 0 S 0.0 0.0 0:00.04 runsv
29 root 20 0 168 8 0 S 0.0 0.0 0:00.04 runsv
30 root 20 0 168 12 0 S 0.0 0.0 0:00.03 runsv
31 root 20 0 168 12 0 S 0.0 0.0 0:00.06 runsv
32 root 20 0 168 12 0 S 0.0 0.0 0:00.04 runsv
33 root 20 0 168 8 0 S 0.0 0.0 0:00.06 runsv
34 root 20 0 26776 220 132 S 0.0 0.0 0:02.06 cron
35 postgres 20 0 386204 11284 10784 S 0.0 0.6 0:31.29 postmaster
36 root 20 0 168 8 0 S 0.0 0.0 0:00.05 runsv
37 root 20 0 61364 20 12 S 0.0 0.0 0:00.09 sshd
38 discour+ 20 0 30764 1584 396 S 0.0 0.1 5:44.43 unicorn_launche
39 redis 20 0 435592 69336 660 S 0.0 3.4 18:30.76 redis-server
40 root 20 0 121152 172 36 S 0.0 0.0 0:00.01 nginx
41 syslog 20 0 180148 1124 136 S 0.0 0.1 0:03.46 rsyslogd
52 www-data 20 0 122132 1540 536 S 0.0 0.1 1:04.38 nginx
53 www-data 20 0 122040 1524 568 S 0.0 0.1 1:10.07 nginx
54 www-data 20 0 122380 1680 728 S 0.0 0.1 1:05.66 nginx
55 www-data 20 0 122236 1608 496 S 0.0 0.1 1:06.42 nginx
56 www-data 20 0 121332 376 168 S 0.0 0.0 0:05.90 nginx
59 postgres 20 0 386448 252388 251616 S 0.0 12.3 0:31.35 postmaster
60 postgres 20 0 386336 143820 143144 S 0.0 7.0 0:41.58 postmaster
61 postgres 20 0 386336 8632 8176 S 0.0 0.4 0:58.58 postmaster
62 postgres 20 0 387064 6960 6196 S 0.0 0.3 0:14.59 postmaster
63 postgres 20 0 103908 932 244 S 0.0 0.0 0:39.76 postmaster
65 discour+ 20 0 420808 108520 800 S 0.0 5.3 9:58.88 ruby
96 discour+ 20 0 1202892 184060 2900 S 0.0 9.0 30:46.53 ruby
124 discour+ 20 0 1649348 362292 3516 S 0.0 17.7 36:46.87 ruby
132 discour+ 20 0 1647324 321020 2748 S 0.0 15.7 36:48.94 ruby
139 discour+ 20 0 1644228 320944 2748 S 0.0 15.7 36:37.40 ruby
7989 postgres 20 0 402168 116828 107928 S 0.0 5.7 0:08.88 postmaster
8547 postgres 20 0 397828 101400 95860 S 0.0 4.9 0:04.42 postmaster
8729 postgres 20 0 402020 115796 106776 S 0.0 5.6 0:07.27 postmaster
9604 postgres 20 0 396636 89440 85808 S 0.0 4.4 0:00.27 postmaster
9648 postgres 20 0 394716 11296 8860 S 0.0 0.6 0:00.06 postmaster
9730 postgres 20 0 394828 13392 10760 S 0.0 0.7 0:00.05 postmaster
9777 root 20 0 21272 1992 1576 S 0.0 0.1 0:00.00 bash
9788 discour+ 20 0 20036 836 620 S 0.0 0.0 0:00.00 sleep
9789 root 20 0 22976 1404 1020 R 0.0 0.1 0:00.00 top
memory stats not possible - just returns blank page.
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Sun Feb 15 13:44:38 EST 2015
System load: 0.23 Processes: 118
Usage of /: 48.7% of 39.25GB Users logged in: 0
Memory usage: 76% IP address for eth0:
Swap usage: 62% IP address for docker0:
Graph this data and manage this system at:
https://landscape.canonical.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment