Linux Memory Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
Display totals (RAM and swap).
Display totals (RAM and swap).


=proc meminfo=
=proc/meminfo=


<pre>
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
cat /proc/meminfo  
:[[proc-meminfo]]
</pre>
</blockquote>
 
External:
* https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-proc-meminfo.html


=top=
=top=

Revision as of 15:06, 27 July 2016

Internal

free

free -mt

Displays RAM and swap.

-m

Display the amount in MB.

-t

Display totals (RAM and swap).

proc/meminfo

proc-meminfo

top

top

vmstat

Reports virtual memory statistics.