Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created January 17, 2018 13:57
Show Gist options
  • Save antoviaque/dfc0078c07685df253ccd63a7698dfb8 to your computer and use it in GitHub Desktop.
Save antoviaque/dfc0078c07685df253ccd63a7698dfb8 to your computer and use it in GitHub Desktop.
root@discourse-opencraft:/var/discourse# ./launcher enter app
WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer.
root@discourse-opencraft-app:/var/www/discourse# cd /
root@discourse-opencraft-app:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
root@discourse-opencraft-app:/# ps fauxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 7302 0.0 0.1 21480 3648 ? Ss 13:49 0:00 /bin/bash --login
root 7682 0.0 0.1 37656 3296 ? R+ 13:55 0:00 \_ ps fauxwww
root 7419 0.0 0.1 21480 3560 ? Ss+ Jan16 0:00 /bin/bash --login
root 1 0.0 0.1 21288 3000 ? Ss+ Jan15 0:00 /bin/bash /sbin/boot
root 249 0.0 0.0 4396 588 ? S+ Jan15 0:03 /usr/bin/runsvdir -P /etc/service
root 250 0.0 0.0 4244 600 ? Ss Jan15 0:00 \_ runsv rsyslog
syslog 260 0.0 0.1 182664 2096 ? Sl Jan15 0:00 | \_ rsyslogd -n
root 251 0.0 0.0 4244 596 ? Ss Jan15 0:00 \_ runsv nginx
root 259 0.0 0.1 82720 3948 ? S Jan15 0:00 | \_ nginx: master process /usr/sbin/nginx
www-data 269 0.0 0.2 84464 5164 ? S Jan15 0:17 | \_ nginx: worker process
www-data 270 0.0 0.1 82892 2080 ? S Jan15 0:01 | \_ nginx: cache manager process
root 252 0.0 0.0 4244 684 ? Ss Jan15 0:00 \_ runsv redis
root 257 0.0 0.0 4388 572 ? S Jan15 0:00 | \_ svlogd /var/log/redis
redis 258 0.1 0.2 44524 5308 ? Sl Jan15 6:26 | \_ /usr/bin/redis-server *:6379
root 253 0.0 0.0 4244 616 ? Ss Jan15 0:00 \_ runsv unicorn
discour+ 256 0.0 0.2 29904 5524 ? S Jan15 1:42 | \_ /bin/bash config/unicorn_launcher -E production -c config/unicorn.conf.rb
discour+ 274 0.1 6.0 458356 120560 ? Sl Jan15 3:52 | \_ unicorn master -E production -c config/unicorn.conf.rb
discour+ 416 0.4 16.5 1789560 330680 ? Sl Jan15 13:22 | | \_ sidekiq 5.0.5 discourse [0 of 5 busy]
discour+ 437 0.1 12.7 1684552 255224 ? Sl Jan15 5:06 | | \_ unicorn worker[0] -E production -c config/unicorn.conf.rb
discour+ 456 0.1 13.9 1683024 279816 ? Sl Jan15 5:10 | | \_ unicorn worker[1] -E production -c config/unicorn.conf.rb
discour+ 481 0.1 14.3 1676872 287044 ? Sl Jan15 4:56 | | \_ unicorn worker[2] -E production -c config/unicorn.conf.rb
discour+ 7681 0.0 0.2 20148 5624 ? S 13:55 0:00 | \_ sleep 1
root 254 0.0 0.0 4244 616 ? Ss Jan15 0:00 \_ runsv cron
root 255 0.0 0.1 29300 2432 ? S Jan15 0:01 \_ cron -f
root@discourse-opencraft-app:/# du -xmsh *
8.0M bin
4.0K boot
0 dev
4.0M etc
20K home
28M lib
4.0K lib64
4.0K media
4.0K mnt
4.0K opt
du: cannot access 'proc/7323/task/7323/fd/4': No such file or directory
du: cannot access 'proc/7323/task/7323/fdinfo/4': No such file or directory
du: cannot access 'proc/7323/fd/4': No such file or directory
du: cannot access 'proc/7323/fdinfo/4': No such file or directory
0 proc
336K pups
15M root
44K run
4.6M sbin
26M shared
4.0K src
4.0K srv
0 sys
17M tmp
927M usr
1008M var
4.0K VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment