Linux memory management

Study about memory management.(To be finished)
Memory control is critical for running the OS.
4 useful tools to investigate the memory status in Linux system,

  • cat /proc/meminfo

This command shows the current system memory map status. With a simple list, it describes the current situation of the machine.
Sample as below:
[ws_table id=”1″]

  • free

This is a simple command. Noted only the used for Cache is OS currently occupying.
Sample as below:
[ws_table id=”3″]

  • ps aux (combine with pmap)

As the previous blog page mentioned, it shows all the process of current machine. Useful for PID! Type:

Alternatively, we can also have,

Sample as below:
[ws_table id=”4″]

  • top & htop

This is the big star! Useful tips: c, f, r, t