cyberciti.biz
Jul 24, 2008
This is an user contributed article. When it is time to upgrade the memory on a Linux host, it is important to understand the existing memory information of the system, which will help to plan the memory upgrade appropriately without opening server chassis (especially, when you have Linux rack mount server). What is the current total RAM used in the system? This can be obtained using free command or from the /proc/meminfo file as shown below. In this example, the current RAM is 1GB. # free Sample output: total used free shared buffers cached Mem: 2074016 2002592 71424 0 480908 937296 -/+ buffers/cache: 584388 1489628 Swap: 1951888 79116 1872772 You can also display memory ram, info using /proc file, enteR: # grep MemTotal /proc/meminfo Sample output: What is the maximum RAM supported by the system? You can use dmidecode...
[read full story]