oseandco.blogg.se

Linux track memory usage
Linux track memory usage









Know that the /proc file system does not contain real files. The next way to check memory usage is to read the /proc/meminfo file. The last line is the swap memory, which in this case is lying entirely free. Linux has the habit of caching lots of things for faster performance, so that memory can be freed and used if needed. This is the free memory in first line added with the buffers and cached amount of memory. The second line tells that 4.6 GB is free. The catch over here is the cached and buffers column.

linux track memory usage

The used column shows the amount of RAM that has been used by linux, in this case around 6.4 GB. The total os 7976 MB is the total amount of RAM installed on the system, that is 8GB.

linux track memory usage

The free command is the most simple and easy to use command to check memory usage on linux.











Linux track memory usage