Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:gentoo:ram [2010/12/15 17:22]
waldauf
linux:gentoo:ram [2015/03/31 22:45] (current)
Line 1: Line 1:
-====== RAM ====== +====== RAM ======  
- +  
-===== RAM Usage ===== +===== RAM Usage =====  
- +  
-Standard command to display usage of RAM and SWAP:<code> +Standard command to display usage of RAM and SWAP:<code>  
-free -m +free -m  
-</code> +</code>  
-And output: +And output:  
-<code> +<code>  
-             total       used       free     shared    buffers     cached +             total       used       free     shared    buffers     cached  
-Mem:          2016       1940         76          0        215       1613 +Mem:          2016       1940         76          0        215       1613  
--/+ buffers/cache:        111       1905 +-/+ buffers/cache:        111       1905  
-Swap:         1903          0       1903 +Swap:         1903          0       1903  
-</code> +</code>  
- +  
- +  
-\\ +\\  
-List running processes ordered by RAM usage: +List running processes ordered by RAM usage:  
-<code> +<code>  
-ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20 +ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20  
-</code> +</code>  
-And output:<code> +And output:<code>  
-PID %MEM COMMAND +PID %MEM COMMAND  
-3349 9.3 /usr/bin/X +3349 9.3 /usr/bin/X  
-3815 6.0 /usr/lib/iceweasel/firefox-bin +3815 6.0 /usr/lib/iceweasel/firefox-bin  
-3750 1.0 gnome-panel +3750 1.0 gnome-panel  
-3753 0.9 nautilus+3753 0.9 nautilus
 </code> </code>
Navigation
Print/export
Toolbox