How to Check Server Memory in Linux

To ensure the performance of the server even though it virtual or dedicated large then the RAM is one of the most important factors. From experience when it's many visitors of the site then besides the processor usage increases memory also can swell dramatically. Already reasonable if we want to track the location of the problem and is in need of an upgrade to a larger package (and expensive of course).

To find out how much RAM is used by Linux server you then simply by typing the command:

After that it will show up in return as follows:

If less clear, depending on how many MB or GB of memory VPS you can at least hundreds of thousands or millions. This unit is in bytes, so please you to 1024 and that's how many MB of free memory.

If they don't want to bother – bother converting then to run the command with the parameter free last -m :
free -m

Then the result will be more easily understood because it was converted into units of Megabytes:

Description of the results of the command are now free:

total : Is how much memory your server entirely.
used : how much RAM is being used.
free : Large memory that is not being used.
Swap : additional Memory will be virtual, put in a

Click here for Comments