Top 5 Command To Check Memory Usage On Linux

There are many ways to check the memory usage on your machine. I will show you the top 5 commands to with the help of we can find the usage on the Linux machine they are very useful. you can check memory usage by user and kernel using the top command in Linux.

Top 5 Command To Check Memory Usage On Linux :

  1. Free – it shows the total amount of free memory and used physical and swap memory in the system.

Top 5 Command to

Use the below command to check the free memory left in the machine.

free –m  

command to check memory

This commands Display the amount of memory in megabytes.

Check Out: Features of Redhat 8 Beta Version Recently Released

  1. vmstat – it reports virtual memory statistics about the process, paging, block I/O, system, and CPU.

linux memory usage by user

3. df –h commands shows the free space in the systems

Check Out: How To Install Podman and Run Container On Linux

linux kernel memory usage

  1. top –  this commands basically shows the displays the Memory and CPU usage per process It provides a dynamic real-time view of a running system.

linux top memory usage

Check Out: How To Send Root Mail To existing User

5. cat /proc/meminfoThis file stores statistics about memory usage on Linux based systems and almost the same as free commands and also shows you the buffer, cached, and memory available.

You’re done linux kernel memory usage by user

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment