Detailed description of/proc/[pid]/status in Linux

Source: Internet
Author: User

[Email protected] ~]# Cat/proc/self/status
Name:cat
State:r (running)
sleepavg:88%
tgid:5783
pid:5783
ppid:5742
tracerpid:0
uid:0 0 0 0
gid:0 0 0 0
fdsize:256
groups:0 1 2 3 4 6 10
vmsize:6588 KB
vmlck:0 KB
vmrss:400 KB
vmdata:144 KB
vmstk:2040 KB
Vmexe:14 KB
vmlib:1250 KB
stabrk:0804e000 KB
brk:088df000 KB
stastk:bfe03270 KB
execlim:0804c000
Threads:1
sigpnd:0000000000000000
shdpnd:0000000000000000
sigblk:0000000000000000
sigign:0000000000000000
sigcgt:0000000000000000
capinh:0000000000000000
Capprm:00000000fffffeff
Capeff:00000000fffffeff


Output interpretation
Parameter interpretation
Name of the application or command
State task status, run/sleep/zombie/
The average wait time for sleepavg tasks (in nanosecond), interactive tasks because of the number of dormant, long time, their sleep_avg will be correspondingly larger, so the calculated priority will be correspondingly higher.
Tgid Thread Group number
Pid task ID
PPID Parent Process ID
Tracerpid the ID number of the process that received the process information tracking
UID UID euid suid fsuid
GID GID Egid sgid fsgid
The maximum number of fdsize file descriptors, File->fds
Groups
Vmsize (KB) The size of the task virtual address space (TOTAL_VM-RESERVED_VM), where TOTAL_VM is the size of the process's address space, RESERVED_VM: The physical page of the process between reserved or special memory
Vmlck (KB) the size of the physical memory to which the task has been locked. Locked physical memory cannot be swapped to hard disk (LOCKED_VM)
Vmrss (KB) the size of the physical memory that the application is using, which is the RSS value with the parameters of the PS Command (RSS)
Vmdata (KB) The size of the program data segment (the size of the virtual memory) that holds the initialized data; (TOTAL_VM-SHARED_VM-STACK_VM)
VMSTK (KB) The size of the user-configured stack (STACK_VM)
Vmexe (KB) the size of executable virtual memory owned by a program, code snippets, excluding libraries used by tasks (End_code-start_code)
Vmlib (KB) size of the library that is being imaged to the virtual memory space of the task (Exec_lib)
Vmpte the size of all page tables for the process, in kilobytes: KB
Threads shares the number of tasks that use this signal descriptor, and in a POSIX multi-line program application, all threads in the thread group use the same signal descriptor.
SIGQ number of signals to be processed
SIGPND Shield bit that stores the pending signal for the thread
SHDPND shielding bit, storing the pending signal for this thread group
SIGBLK storage of blocked signals
Sigign storage of ignored signals
SIGCGT storage of captured signals
Capinh inheritable, the ability to inherit from a program that can be executed by the current process
CAPPRM permitted, the ability of the process to be able to use, can contain Capeff not in the ability, these capabilities are temporarily abandoned by the process itself, Capeff is a subset of CAPPRM, the process of abandoning the unnecessary ability to improve security
Capeff effective, the effective ability of the process

Reference: http://kiddwyl.iteye.com/blog/290021

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.