Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/85063/virtual/www/domains/waldauf.org/lib/plugins/color/syntax.php:1) in /data/web/virtuals/85063/virtual/www/domains/waldauf.org/inc/actions.php on line 180
linux:gentoo:ram - WiKi

RAM

RAM Usage

Standard command to display usage of RAM and SWAP:

free -m

And output:

             total       used       free     shared    buffers     cached
Mem:          2016       1940         76          0        215       1613
-/+ buffers/cache:        111       1905
Swap:         1903          0       1903


List running processes ordered by RAM usage:

ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20

And output:

PID %MEM COMMAND
3349 9.3 /usr/bin/X
3815 6.0 /usr/lib/iceweasel/firefox-bin
3750 1.0 gnome-panel
3753 0.9 nautilus
Navigation
Print/export
Toolbox