The Sophos Community will be offline for scheduled maintenance this Saturday, May 27th, at 13:00 UTC for approximately 1 hour. Apologies for any inconvenience caused.
"Wanna" ransomware outbreak. Please see this Sophos article sophos.com/kb/126733 for advice on how to protect your organization. Immediate action recommended.
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.