![]() ![]() How to use top command to check the memory usage $ sudo yum install sysstat For Ubuntu and Debian distro: This command is not by default installed in your System or servers. So these parameters are showing us the used memory, free memory, and swap memory.Īlso, the amount of memory that is active and inactive has all these parameters output in KBs. So the vmstat has some of the following parameters, Vmstat command is to get the information about the processes, memory, CPU, disks and etc. How to use the vmstat command to check Memory Usage on Linux. The Output is showing in KB’s and has more detail with many parameters than any other command. Let’s use the cat command to check the memory usage in Linux. Also, you can study the detailed parameter on the same link.Ĭheck /proc/meminfo file with cat command. Want to learn more about the free command in Linux refer to the link. The output of the ‘free -h’ is in the human-readable format. Total RAM or memory in our system, used and free space of the memory or RAM. How to use the free command to check the Memory Usage in Linux.įree command in Linux to check the total, available memory or RAM. check the file meminfo with the cat command.In this article, we will use 6 basic commands of Linux. ![]() So in Linux, lots of commands to check the usage of Memory. Whether the usage has increased? What was the process at that time due to which our Server or Desktop gets hanged? Then the Desktop support or Admin teams always check the usage of CPU and RAM (Memory). Now when our Desktop or a Server hang’s up, not working like get’s freeze. But why do we need to check the memory usage? This Article is to check the memory usage on Linux with 6 different commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |