Missmiaom
2/25/2020 - 7:46 AM

top

top

内存

VIRT: 任务所使用的所有虚拟内存大小。 It includes all code, data and shared libraries plus pages that have been swapped out
RES:任何占用物理内存的东西。包括共享内存
SHR:任务所使用的共享内存。

https://sites.google.com/site/bipisdips/linux/top-command-virt-shr-and-res

状态

  • D = uninterruptible sleep,通常因为磁盘 IO 导致不可中断状态。
  • I = idle
  • R = running
  • S = sleeping
  • T = stopped by job control signal
  • t = stopped by debugger during trace
  • Z = zombie