locked
How can you determine the total memory used by LINUX? RRS feed

  • Question

  • can anyone share with me how to determine total memory used by linux?
    Wednesday, January 29, 2020 7:23 AM

Answers

  • Try these methods to determine the total memory used by linum

    This is explained as below 

    • Free command: This is the most simple and easy to use command to check memory usage. For example: ‘$ free –m’, the option ‘m' displays all the data in MBs.
    • proc/meminfo: The next way to determine memory usage is to read /proc/meminfo file. For example: ‘$ cat /proc/meminfo’
    • Vmstat: This command basically lays out the memory usage statistics. For example: ‘$ vmstat –s’
    • Top command: This command determines the total memory usage as well as also monitors the RAM usage.
    • Htop: This command also displays memory usage along with other details.
    7 mins


    • Marked as answer by Akash Rout Wednesday, January 29, 2020 7:34 AM
    Wednesday, January 29, 2020 7:33 AM

All replies

  • Try these methods to determine the total memory used by linum

    This is explained as below 

    • Free command: This is the most simple and easy to use command to check memory usage. For example: ‘$ free –m’, the option ‘m' displays all the data in MBs.
    • proc/meminfo: The next way to determine memory usage is to read /proc/meminfo file. For example: ‘$ cat /proc/meminfo’
    • Vmstat: This command basically lays out the memory usage statistics. For example: ‘$ vmstat –s’
    • Top command: This command determines the total memory usage as well as also monitors the RAM usage.
    • Htop: This command also displays memory usage along with other details.
    7 mins


    • Marked as answer by Akash Rout Wednesday, January 29, 2020 7:34 AM
    Wednesday, January 29, 2020 7:33 AM
  • Thank You Can You explained little bit more about
    Wednesday, January 29, 2020 7:35 AM