htop 参数
htop
参数
- VIRT – Virtual Image (kb)
The total amount of virtual memory used by the task. It includes all code, data and shared libraries plus pages that have been swapped out. (Note: you can define the STATSIZE=1 environment variable and the VIRT will be calculated from the /proc/#/state VmSize field.)
VIRT = SWAP + RES
- RES – Resident size (kb)
The non-swapped physical memory a task has used.
RES = CODE + DATA.