top command - real-time display of dynamic process

use:

  1, w is shown in detail, refreshed every 3 seconds

  2, shift + m can be sorted in share memory

  3, q to exit monitoring

result:

  top - 10:20:31 up 3 days, 11:54, 1 user, load average: 0.00, 0.01, 0.05
  Tasks: 74 total, 2 running, 72 sleeping, 0 stopped, 0 zombie
  %Cpu(s): 0.3 us, 0.3 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
  KiB Mem : 1014904 total, 68192 free, 525636 used, 421076 buff/cache
  KiB Swap: 0 total, 0 free, 0 used. 322312 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

Description:

  The first line: the same function w

  Second row: Task Information

  Third row: CPU Information

  Fourth row: Memory information

  Fifth freedom: the swap partition

  Other lines:

    PID: Process ID

    USER: User

    PR: Priority

    A: NICE

    VIRT: total amount of virtual memory

    RES: virtual memory, not swap physical memory

    SHR: shared memory size

    S: Process Status

    % CPU: CPU occupancy percentage

    % MEM: memory usage percentage

    TIME +: CPU time

    COMMAND: process name / command

 

Guess you like

Origin www.cnblogs.com/longqin/p/11621565.html