How to check total installed RAM on the Linux server?
Collapse
Announcement
Collapse
No announcement yet.
RAM on Linux
Collapse
X
-
Hello,
You may use the either below commands to check the RAM installed on a linux server.
The below output will give the result in MB.
````
root@server [/]# free -m
total used free shared buffers cached
Mem: 15906 15458 447 5 3022 6880
-/+ buffers/cache: 5554 10351
Swap: 4095 67 4028
````
Whereas, the same result can be obtained in GB for better understanding.
````
root@server [/]# free -g
total used free shared buffers cached
Mem: 15 15 0 0 2 6
-/+ buffers/cache: 5 10
Swap: 3 0 3
````
The above output states that the server is deployed with a total of 15 G RAM and an additional SWAP space of 3 G. The used column shows how much RAM is being used up by the server.
Last edited by Mandeep; 11-16-2017, 09:34 AM.
- Likes 2
Comment