Linux command --- top

Source: Internet
Author: User
1. description of the process information area: Detailed description: Serial Number column name meaning aPID process idbPPID parent process idcRUSERRealusern
  1. Serial Number
  1. Column name
  1. Description
  1. A
  1. PID
  1. Process id
  1. B
  1. PPID
  1. Parent process id
  1. C
  1. RUSER
  1. Real user name
  1. D
  1. UID
  1. User ID of the process owner
  1. E
  1. USER
  1. User name of the process owner
  1. F
  1. GROUP
  1. Group name of the process owner
  1. G
  1. TTY
  1. The terminal name of the startup process. Processes not started from the terminal are displayed?
  1. H
  1. PR
  1. Priority
  1. I
  1. NI
  1. Nice value. A negative value indicates a high priority, and a positive value indicates a low priority.
  1. J
  1. P
  1. The last CPU used is only meaningful in multiple CPU environments.
  1. K
  1. % CPU
  1. CPU usage from the last update to the present
  1. L
  1. TIME
  1. Total CPU time used by the process, in seconds
  1. M
  1. TIME +
  1. Total CPU time used by the process, in 1/100 seconds
  1. N
  1. % MEM
  1. Percentage of physical memory used by the process
  1. O
  1. VIRT
  1. Total virtual memory used by the process, in kb. VIRT = SWAP + RES
  1. P
  1. SWAP
  1. In the virtual memory used by the process, the swap size, in kb.
  1. Q
  1. RES
  1. Physical memory used by the process, not swapped out, in kb. RES = CODE + DATA
  1. R
  1. CODE
  1. Physical memory occupied by executable code, in kb
  1. S
  1. DATA
  1. Physical memory occupied by parts other than executable code (data segment + stack), in kb
  1. T
  1. SHR
  1. Size of shared memory, in kb
  1. U
  1. NFLT
  1. Page error count
  1. V
  1. MCM T
  1. The number of pages that have been modified since the last write to the present.
  1. W
  1. S
  1. Process status.
  2. D = uninterrupted sleep
  3. R = run
  4. S = sleep
  5. T = tracking/stopping
  6. Z = Zombie process
  1. X
  1. COMMAND
  1. Command name/command line
  1. Y
  1. WCHAN
  1. If the process is sleeping, the system function name displayed in sleep
  1. Z
  1. Flags
  1. Task flag, refer to sched. h
1.

Description of the process information area:

Detailed description:
2. commands in the command line.
1) field display management
Input f:

2) field order management
Enter the o key to change the column display sequence. A lower-case a-z can move the corresponding column to the right, while an upper-case A-Z can move the corresponding column to the left. Press Enter.
3) h help
4) 'd OR's: Set the display refresh interval
5) c: whether to display the complete path and program name when the process starts.
6) I: Switch to display idle tasks.
7) 'Z': change the color
'Z': Switch Color Display 8) u: Display the process of a specific user. 9) n: set the maximum number of tasks displayed. 10) 'K': End Task 11) 'A': switch to alternate display mode. this command classifies all commands into four types:
Def (default field Group)
Job (task field Group)
Mem (memory field Group)
Only one of the four windows in Usr (user field Group) is the current window, and only the current window is involved in the commands in the Command Line for interactive operations, use 'a' and 'W' to switch between the four windows.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.