free – command

DISPLAY SYSTEM MEMORY:
Free command used to check the used and available space of physical memory and swap memory in KB. See the command in action below.

# free

DISPLAY MEMORY IN BYTES:
Free command with option -b, display the size of memory in Bytes.

# free -b

DISPLAY MEMORY IN KILOBYTES:
Free command with option -k, display the size of memory in (KB) Kilobytes.

# free -k

DISPLAY MEMORY IN MEGABYTES:
To see the size of the memory in (MB) Megabytes use option as -m.

# free -m

DISPLAY MEMORY IN GIGABYTES:
Using -g option with free command, would display the size of the memory in GB(Gigabytes).

# free -g

DISPLAY TOTAL LINE:
Free command with -t option, will list the total line at the end.

# free -t

DISPLAY OF BUFFER ADJUSTED LINE:
By default the free command display “buffer adjusted” line, to disable this line use option as -o.

# free -o

DISPLAY MEMORY STATUS FOR REGULAR INTERVALS:
The -s option with number, used to update free command at regular intervals. For example, the below command will update free command every 5 seconds.

# free -s 5

SHOW LOW AND HIGH MEMORY STATISTICS:
The -l switch displays detailed high and low memory size statistics.

# free -l

CHECK FREE VERSION:
The -V option, display free command version information.

# free -V

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s