1, Cat/proc/meminfo
Cat/proc/<pid>/statm and cat/proc/<pid>/status Get the memory information for a particular process;
2, Atop command is for use in the terminal environment based on ncurses interactive system and process monitoring tools. It shows a summary of dynamically updated system resources ( cpu , memory, network, input \ output, kernel), The high-load part of the system is marked with a warning message with striking color. ( sudo atop ) //RED&NBSP;HAT&NBSP;
3. The Free command is a quick and easy way to get an overview of memory usage, which is obtained from /proc/meminfo ; it provides a snapshot that shows the total / Idle physical memory and system swap area, and used / idle kernel buffers (free-h)//free-m
4, Gnome-system-monitor A graphical interface application, showing the CPU, memory, swap area and network, including the system resource utilization of more recent historical information. You can also provide a View of the process with CPU and memory usage;
5. Htop can be viewed horizontally or vertically by scrolling the process list;//red hat version does not have the command;
6, Ksysguard Show Class A Real-time History of system resource usage and cpu/memory consumption with each process. There is no such command under //red hat version;
7. Memstat-p <pid> Identify executable parts, processes, and shared libraries that are consuming virtual memory //red hat version without the command;
8, Nmon show the results are real-time,//red hat version without the command;
9, PS aux--sort-rss
Shown MEM ( percent of physical memory usage ),VSZ(total virtual memory usage) and RSS ( Total Physical memory usage )
10, sudo smem--pie name-c "PSS" This information is derived from the /proc Directory Memory usage analysis results can be output as a histogram or pie chart in the graphical chart. There is no such command under //red hat version;
11. Top
12. Vmstat-s Reality covers the trend and average statistics of various system activities for CPU, memory, interrupts, and disk I/O . For memory information, the command not only shows the physical memory usage (total, used, buffered, cached memory), but also shows the virtual memory statistics (swap in memory pages, swap out of virtual memory pages)
Commands and tools to view Linux memory status