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.< | ||
+ | Display free memory size in MB: | ||
+ | < | ||
+ | free -m | ||
+ | </ | ||
+ | Displays a line containing the totals memory in MB: | ||
+ | < | ||
+ | free -t -m | ||
+ | </ | ||
+ | The**vmstat** command reports information about processes, memory, paging, block IO, traps, and CPU activity. | ||
+ | < | ||
+ | vmstat | ||
+ | </ | ||
+ | The**top** command which provides a dynamic real-time view of a running system. | ||
+ | < | ||
+ | top | ||
+ | </ | ||
+ | Press**SHIFT+M** to sort on memory utilization.< | ||
+ | Press**z** to colorize.< | ||
+ | Press**1** to see multiple CPU' | ||
+ | Press**q** to quit. | ||
+ | |||
+ | For more help type ' _command// | ||
+ | |||
+ | -- FredPettis - 02 Jun 2009 | ||
checkmemoryusage.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1