Skip to content

Instantly share code, notes, and snippets.

@marcusvmsa
Created April 23, 2012 18:56
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 marcusvmsa/2473059 to your computer and use it in GitHub Desktop.
Save marcusvmsa/2473059 to your computer and use it in GitHub Desktop.
free -m
~$ free -m
total used free shared buffers cached
Mem: 497 441 56 0 1 156
-/+ buffers/cache: 282 214
Swap: 255 131 124
~$ ps -eo pmem,pcpu,rss,vsize,args --sort -pmem | less
%MEM %CPU RSS VSZ COMMAND
9.2 0.0 47056 112108 Rack: /srv/www/oclube.co
7.6 7.4 38896 44836 Rails: /srv/www/codesmell.woompa.com.br
6.7 0.2 34488 61988 Rails: /srv/www/pixelquadrado.com.br
6.4 0.0 32788 42824 Rails: /srv/www/polvovidente.com.br
5.3 0.0 27112 48348 Rails: /srv/www/calabocagalvao.com.br
3.9 0.4 20288 48656 Rack: /srv/www/worktect.net
1.0 0.0 5120 48716 postgres: postgres polvo_production 127.0.0.1(60346) idle
0.6 0.0 3416 48524 postgres: postgres oclube_production 127.0.0.1(48060) idle
0.5 0.0 2852 8552 sshd: marcus [priv]
0.4 0.0 2392 17380 Passenger spawn server
0.4 0.0 2260 48380 postgres: postgres galvao_production 127.0.0.1(55092) idle
0.4 0.0 2168 5440 -bash
0.3 0.0 1884 25920 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
0.3 0.0 1872 48392 postgres: postgres pixelquadrado_production 127.0.0.1(44722) idle
0.3 0.1 1820 48496 postgres: postgres worktect_production 127.0.0.1(59595) idle
0.2 0.0 1416 8552 sshd: marcus@pts/0
0.2 0.0 1276 7396 nginx: worker process
0.2 0.0 1196 7580 nginx: worker process
0.2 0.0 1064 7380 nginx: worker process
0.1 0.4 924 20232 PassengerHelperAgent
0.1 0.0 816 47284 postgres: autovacuum launcher process
0.1 0.0 792 5440 -bash
0.1 0.0 732 7440 nginx: worker process
0.1 0.0 696 7360 nginx: worker process
0.1 0.0 696 4352 ps -eo pmem,pcpu,rss,vsize,args --sort -pmem
0.1 0.0 608 7380 nginx: worker process
0.1 0.0 600 46796 postgres: writer process
0.1 0.0 576 15396 postgres: stats collector process
0.0 0.0 320 46796 /usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/main -c config_file=/etc/postgresql/8.4/main/postgresql.conf
0.0 0.0 312 3512 /usr/sbin/ntpd -f /etc/openntpd/ntpd.conf
0.0 0.0 308 5656 /usr/sbin/sshd -D
0.0 0.0 288 29536 rsyslogd -c4
0.0 0.0 264 2796 /sbin/init
0.0 0.0 56 2032 /sbin/dhcpcd-bin -h woompa -Y -N eth0
0.0 0.0 36 2272 cron
0.0 0.0 8 10664 PassengerLoggingAgent
0.0 0.0 4 2424 udevd --daemon
0.0 0.0 4 2420 udevd --daemon
0.0 0.0 4 2420 udevd --daemon
0.0 0.0 4 2412 upstart-socket-bridge --daemon
0.0 0.0 4 3024 /bin/bash /opt/ruby_mini_magick /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server
0.0 0.0 4 6544 nginx: master process /opt/nginx/sbin/nginx
:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment