![]() ![]() Type the following command and press Enter: htop.The htop command provides a real-time view of system processes and their memory usage, similar to the top command. ![]() The htop command is another useful command for checking memory usage in Linux. The output will display a list of processes sorted by memory usage, along with the amount of memory used by each process.Ĭhecking Memory Usage with the Htop Command.Type the following command and press Enter: ps aux | awk '' | sort -n.The ps command is a useful command for checking the memory usage of specific processes on the system. To sort the list by memory usage, press the M key.Ĭhecking Memory Usage with the Ps Command The output will display a list of system processes, along with their CPU usage, memory usage, and other information.Type the following command and press Enter: top.The top command provides a real-time view of system processes and their memory usage. The top command is another useful command for checking memory usage in Linux. The output will display the total amount of memory, the amount of memory that’s currently in use, the amount of memory that’s free, and the amount of memory that’s being used as buffers and cache.Ĭhecking Memory Usage with the Top Command.Type the following command and press Enter: free -m.The free command displays information about the total amount of memory, the amount of memory that’s currently in use, and the amount of memory that’s available. The free command is the simplest and easiest way to check memory usage in Linux. Checking Memory Usage with the Free Command ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |