User Tools

Site Tools


checkmemoryusage
no way to compare when less than two revisions

Differences

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


checkmemoryusage [2013/01/28 04:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +
 +====== Check Memory Usage  ======
 +The**free** command displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.<br />
 +Display free memory size in MB:
 +<file>
 +free -m
 +</file>
 +Displays a line containing the totals memory in MB:
 +<file>
 +free -t -m
 +</file>
 +The**vmstat** command reports information about processes, memory, paging, block IO, traps, and CPU activity.
 +<file>
 +vmstat
 +</file>
 +The**top** command which provides a dynamic real-time view of a running system.
 +<file>
 +top
 +</file>
 +Press**SHIFT+M** to sort on memory utilization.<br />
 +Press**z** to colorize.<br />
 +Press**1** to see multiple CPU's.<br />
 +Press**q** to quit.
 +
 +For more help type ' _command//--help' or 'man _command//'
 +
 +-- FredPettis - 02 Jun 2009
  
checkmemoryusage.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1