# proc_pid_status

## NAME



           /proc/pid/status - memory usage and status information
    


## DESCRIPTION



           _/proc/_ pid _/status_
                  Provides much of the information in _/proc/_ pid _/stat_ and
                  _/proc/_ pid _/statm_ in a format that's easier for humans to
                  parse.  Here's an example:
    
                      $ **cat /proc/$$/status**
                      Name:   bash
                      Umask:  0022
                      State:  S (sleeping)
                      Tgid:   17248
                      Ngid:   0
                      Pid:    17248
                      PPid:   17200
                      TracerPid:      0
                      Uid:    1000    1000    1000    1000
                      Gid:    100     100     100     100
                      FDSize: 256
                      Groups: 16 33 100
                      NStgid: 17248
                      NSpid:  17248
                      NSpgid: 17248
                      NSsid:  17200
                      VmPeak:     131168 kB
                      VmSize:     131168 kB
                      VmLck:           0 kB
                      VmPin:           0 kB
                      VmHWM:       13484 kB
                      VmRSS:       13484 kB
                      RssAnon:     10264 kB
                      RssFile:      3220 kB
                      RssShmem:        0 kB
                      VmData:      10332 kB
                      VmStk:         136 kB
                      VmExe:         992 kB
                      VmLib:        2104 kB
                      VmPTE:          76 kB
                      VmPMD:          12 kB
                      VmSwap:          0 kB
                      HugetlbPages:          0 kB        # 4.4
                      CoreDumping:   0                       # 4.15
                      Threads:        1
                      SigQ:   0/3067
                      SigPnd: 0000000000000000
                      ShdPnd: 0000000000000000
                      SigBlk: 0000000000010000
                      SigIgn: 0000000000384004
                      SigCgt: 000000004b813efb
                      CapInh: 0000000000000000
                      CapPrm: 0000000000000000
                      CapEff: 0000000000000000
                      CapBnd: ffffffffffffffff
                      CapAmb:   0000000000000000
                      NoNewPrivs:     0
                      Seccomp:        0
                      Seccomp_filters:        0
                      Speculation_Store_Bypass:       vulnerable
                      Cpus_allowed:   00000001
                      Cpus_allowed_list:      0
                      Mems_allowed:   1
                      Mems_allowed_list:      0
                      voluntary_ctxt_switches:        150
                      nonvoluntary_ctxt_switches:     545
    
                  The fields are as follows:
    
                  _Name_   Command run by this process.  Strings longer than
                         **TASK_COMM_LEN**(16) characters (including the
                         terminating null byte) are silently truncated.
    
                  _Umask_  Process umask, expressed in octal with a leading
                         zero; see umask(2).  (Since Linux 4.7.)
    
                  _State_  Current state of the process.  One of "R (running)",
                         "S (sleeping)", "D (disk sleep)", "T (stopped)", "t
                         (tracing stop)", "Z (zombie)", or "X (dead)".
    
                  _Tgid_   Thread group ID (i.e., Process ID).
    
                  _Ngid_   NUMA group ID (0 if none; since Linux 3.13).
    
                  _Pid_    Thread ID (see gettid(2)).
    
                  _PPid_   PID of parent process.
    
                  _TracerPid_
                         PID of process tracing this process (0 if not being
                         traced).
    
                  _Uid_
                  _Gid_    Real, effective, saved set, and filesystem UIDs
                         (GIDs).
    
                  _FDSize_ Number of file descriptor slots currently allocated.
    
                  _Groups_ Supplementary group list.
    
                  _NStgid_ Thread group ID (i.e., PID) in each of the PID
                         namespaces of which _pid_ is a member.  The leftmost
                         entry shows the value with respect to the PID
                         namespace of the process that mounted this procfs
                         (or the root namespace if mounted by the kernel),
                         followed by the value in successively nested inner
                         namespaces.  (Since Linux 4.1.)
    
                  _NSpid_  Thread ID in each of the PID namespaces of which _pid_
                         is a member.  The fields are ordered as for _NStgid_.
                         (Since Linux 4.1.)
    
                  _NSpgid_ Process group ID in each of the PID namespaces of
                         which _pid_ is a member.  The fields are ordered as
                         for _NStgid_.  (Since Linux 4.1.)
    
                  _NSsid_  descendant namespace session ID hierarchy Session ID
                         in each of the PID namespaces of which _pid_ is a
                         member.  The fields are ordered as for _NStgid_.
                         (Since Linux 4.1.)
    
                  _VmPeak_ Peak virtual memory size.
    
                  _VmSize_ Virtual memory size.
    
                  _VmLck_  Locked memory size (see mlock(2)).
    
                  _VmPin_  Pinned memory size (since Linux 3.2).  These are
                         pages that can't be moved because something needs to
                         directly access physical memory.
    
                  _VmHWM_  Peak resident set size ("high water mark").  This
                         value is inaccurate; see _/proc/_ pid _/statm_ above.
    
                  _VmRSS_  Resident set size.  Note that the value here is the
                         sum of _RssAnon_ , _RssFile_ , and _RssShmem_.  This value
                         is inaccurate; see _/proc/_ pid _/statm_ above.
    
                  _RssAnon_
                         Size of resident anonymous memory.  (since Linux
                         4.5).  This value is inaccurate; see _/proc/_ pid _/statm_
                         above.
    
                  _RssFile_
                         Size of resident file mappings.  (since Linux 4.5).
                         This value is inaccurate; see _/proc/_ pid _/statm_ above.
    
                  _RssShmem_
                         Size of resident shared memory (includes System V
                         shared memory, mappings from tmpfs(5), and shared
                         anonymous mappings).  (since Linux 4.5).
    
                  _VmData_
                  _VmStk_
                  _VmExe_  Size of data, stack, and text segments.  This value
                         is inaccurate; see _/proc/_ pid _/statm_ above.
    
                  _VmLib_  Shared library code size.
    
                  _VmPTE_  Page table entries size (since Linux 2.6.10).
    
                  _VmPMD_  Size of second-level page tables (added in Linux
                         4.0; removed in Linux 4.15).
    
                  _VmSwap_ Swapped-out virtual memory size by anonymous private
                         pages; shmem swap usage is not included (since Linux
                         2.6.34).  This value is inaccurate; see
                         _/proc/_ pid _/statm_ above.
    
                  _HugetlbPages_
                         Size of hugetlb memory portions (since Linux 4.4).
    
                  _CoreDumping_
                         Contains the value 1 if the process is currently
                         dumping core, and 0 if it is not (since Linux 4.15).
                         This information can be used by a monitoring process
                         to avoid killing a process that is currently dumping
                         core, which could result in a corrupted core dump
                         file.
    
                  _Threads_
                         Number of threads in process containing this thread.
    
                  _SigQ_   This field contains two slash-separated numbers that
                         relate to queued signals for the real user ID of
                         this process.  The first of these is the number of
                         currently queued signals for this real user ID, and
                         the second is the resource limit on the number of
                         queued signals for this process (see the description
                         of **RLIMIT_SIGPENDING** in getrlimit(2)).
    
                  _SigPnd_
                  _ShdPnd_ Mask (expressed in hexadecimal) of signals pending
                         for thread and for process as a whole (see
                         pthreads(7) and signal(7)).
    
                  _SigBlk_
                  _SigIgn_
                  _SigCgt_ Masks (expressed in hexadecimal) indicating signals
                         being blocked, ignored, and caught (see signal(7)).
    
                  _CapInh_
                  _CapPrm_
                  _CapEff_ Masks (expressed in hexadecimal) of capabilities
                         enabled in inheritable, permitted, and effective
                         sets (see capabilities(7)).
    
                  _CapBnd_ Capability bounding set, expressed in hexadecimal
                         (since Linux 2.6.26, see capabilities(7)).
    
                  _CapAmb_ Ambient capability set, expressed in hexadecimal
                         (since Linux 4.3, see capabilities(7)).
    
                  _NoNewPrivs_
                         Value of the _no_new_privs_ bit (since Linux 4.10, see
                         prctl(2)).
    
                  _Seccomp_
                         Seccomp mode of the process (since Linux 3.8, see
                         seccomp(2)).  0 means **SECCOMP_MODE_DISABLED** ; 1 means
                         **SECCOMP_MODE_STRICT** ; 2 means **SECCOMP_MODE_FILTER**.
                         This field is provided only if the kernel was built
                         with the **CONFIG_SECCOMP** kernel configuration option
                         enabled.
    
                  _Seccomp_filters_
                         Number of seccomp filters attached to the process
                         (since Linux 5.9, see seccomp(2)).
    
                  _Speculation_Store_Bypass_
                         Speculation flaw mitigation state (since Linux 4.17,
                         see prctl(2)).
    
                  _Cpus_allowed_
                         Hexadecimal mask of CPUs on which this process may
                         run (since Linux 2.6.24, see cpuset(7)).
    
                  _Cpus_allowed_list_
                         Same as previous, but in "list format" (since Linux
                         2.6.26, see cpuset(7)).
    
                  _Mems_allowed_
                         Mask of memory nodes allowed to this process (since
                         Linux 2.6.24, see cpuset(7)).
    
                  _Mems_allowed_list_
                         Same as previous, but in "list format" (since Linux
                         2.6.26, see cpuset(7)).
    
                  _voluntary_ctxt_switches_
                  _nonvoluntary_ctxt_switches_
                         Number of voluntary and involuntary context switches
                         (since Linux 2.6.23).
    


* * *