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
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
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.