Display Memory Status in Linux Fedora using free Command



Configuration for GNU Linux Fedora Computer using Linux Command

 

   How much your Linux box consume your memory resources.  How many memory space are there available or free to use??? The free command can help you to to view memory resources or memory properties of your Linux box.  The step by step command example below use the free command to display memory status on Linux Fedora machine

free Command Example:

# free 

# free -t

# free -m

 

1.  Command free display the memory status on the system:

display free memory on Linux Fedora

[root@fedora ~]# free

            total     used    free  shared buffers   cached

Mem:       673164   182772  490392       0    9176   107860

-/+ buffers/cache:   65736  607428

Swap:      557048        0  557048

[root@fedora ~]#

 

2.  The free command below give total amount memory available on the system:

Total memory available on Linux Fedora system

[root@fedora ~]# free -t

            total     used     free  shared buffers cached

Mem:       673164   185012   488152       0    9400 109756

-/+ buffers/cache:   65856   607308

Swap:      557048        0   557048

Total:    1230212   185012  1045200

[root@fedora ~]#

 

3.  Display memory used and free memory in MB:

Display memory used and free memory in MB

[root@fedora ~]# free -m

            total   used   free  shared buffers cached

Mem:         1518    355   1162       0      15    164

-/+ buffers/cache:   176   1342

Swap:         543      0    543

[root@fedora ~]# 

 




0 comments: