I. Description of the Order
The free command displays the usage of system memory: physical memory, swap memory (swap), and kernel buffer memory
Second, parameter description
- -b-k-m-g: Display memory usage in bytes, KB, MB, GB, respectively
- -L: Displays detailed low memory and high memory statistics
- -O: Do not show-/+ Buffers/cache this line
- -T: Show memory sum, Ram+swap
- -S: Allows uninterrupted monitoring of memory usage over a specified period of time, showing once every few seconds
- -C: Update count times
- -V: Display version information
Iii. Introduction of specific usage
- Total: Amount of physical memory
- Used: physical memory size used
- Free: idle physical memory size
- Shared: Total amount of memory shared by multiple processes
- Buffers: Write Cache size
- Cached: Read Cache size
- -buffers/cached:used: The actual memory size used by the application, equal to used-buffers-cached (three number of mem columns)
- +buffers/cached:free: Total idle memory equals free+buffers+cached (three number of mem columns)
- Swap: Swap partition
- Total: Size of the swap partition
- Used: Swap partition already used size
- Free: Swap partition idle size
==>free of Linux monitoring commands