Search

 

Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)

Article number: Article number: kb-37
Q. How to find CentOS memory usage?

A. Memory Usage
The free command displays the total amount of physical memory and swap space for the system as well as the amount of memory that is used, free, shared, in kernel buffers, and cached.

# free

free [options]

# free -m
# free -k
# free -t
# free -l
# free -o
# free -s
# free -g

-b,-k,-m,-g show output in bytes, KB, MB, or GB
-l show detailed low and high memory statistics
-o use old format (no -/+buffers/cache line)
-t display total for RAM + swap
-s update every [delay] seconds
-c update [count] times
-V display version information and exit

This page has been viewed 804 times

Other questions in this category Other questions in this category
1. How do I disable/stop firewall in Linux server? (viewed 862 times)
2. How to Eject/Close CD or DVD media with shell command? (viewed 795 times)
3. How Do I Find Out My Linux Gateway / Router IP Address? (viewed 749 times)
4. How Shutting Down and Reboot CentOS via SSH? (viewed 741 times)
5. How to work with ping command? (viewed 738 times)
6. In CentOS, how to find free disk space? (viewed 722 times)

Return to Search

Back to Top