User Tools

Site Tools


checkmemoryusage

Differences

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

Link to this comparison view

checkmemoryusage [2013/01/27 21:29] (current)
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/27 21:29 (external edit)