CentOS Linux Server Guide

CentOS Linux system information - memory information

free

  • command used to display amount of free and used memory in the Centos Linux system.

  • comand  displays the total amount of free and used physical and swap memory in the sys-
    tem, as well as the buffers used by the kernel.

  •  The shared memory column should beignored; it is obsolete.

Synopsis

free [options]

 

Options  Description
-b  displays the amount of memory in bytes
-k  displays memory information  in kilobytes
-m  displays memory information  iin megabytes.
-t  displays memory information  and add in a line containing the totals of memory usage

 
# free -b
total used free shared buffers cached
Mem: 526786560 507113472 19673088 0 49758208 385011712
-/+ buffers/cache: 72343552 454443008
Swap: 1073733632 0 1073733632


# free -k
total used free shared buffers cached
Mem: 514440 495228 19212 0 48592 375988
-/+ buffers/cache: 70648 443792
Swap: 1048568 0 1048568

 

#free -m
total used free shared buffers cached
Mem: 502 483 18 0 47 367
-/+ buffers/cache: 69 433
Swap: 1023 0 1023


# free -t
total used free shared buffers cached
Mem: 514440 495228 19212 0 48600 375980
-/+ buffers/cache: 70648 443792
Swap: 1048568 0 1048568
Total: 1563008 495228 1067780
 

 

Read More about Obtaining CentOS Linux System Information

 



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy