How to display the free and used memory/swap at the linux shell : Astaro Security Gateway

  • Article ID: 115769
  • Updated: 25 May 2012

How to display the free and used memory/swap at the linux shell.

Known to apply to the following Sophos product(s) and version(s)

Sophos UTM Software Appliance

Operating systems
v7,v8,v9

What To Do

To display the free and used memory/swap at the linux shell:

asg:/root # free -m
total used free shared buffers cached
Mem: 248376 235392 12984 0 15184 81460
-/+ buffers/cache: 138748 109628
Swap: 1052248 130104 922144

For free memory ALWAYS look at line "-/+ buffers/cache"

buffers/cache free = Mem free + Mem buffers + Mem cached
109628 = 12984 + 15185 + 81460
 buffers/cache used = Mem used - Mem buffers - Mem cached
138748 = 235392 - 15184 - 81460

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments