{
    "mode": "man",
    "parameter": "proc_pid_status",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_pid_status/5/json",
    "generated": "2026-10-08T14:21:51Z",
    "sections": {
        "NAME": {
            "content": "/proc/pid/status - memory usage and status information\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/pid/status\nProvides  much  of  the  information in /proc/pid/stat and /proc/pid/statm in a format\nthat's easier for humans to parse.  Here's an example:\n\n$ cat /proc/$$/status\nName:   bash\nUmask:  0022\nState:  S (sleeping)\nTgid:   17248\nNgid:   0\nPid:    17248\nPPid:   17200\nTracerPid:      0\nUid:    1000    1000    1000    1000\nGid:    100     100     100     100\nFDSize: 256\nGroups: 16 33 100\nNStgid: 17248\nNSpid:  17248\nNSpgid: 17248\nNSsid:  17200\nVmPeak:     131168 kB\nVmSize:     131168 kB\nVmLck:           0 kB\nVmPin:           0 kB\nVmHWM:       13484 kB\nVmRSS:       13484 kB\nRssAnon:     10264 kB\nRssFile:      3220 kB\nRssShmem:        0 kB\nVmData:      10332 kB\nVmStk:         136 kB\nVmExe:         992 kB\nVmLib:        2104 kB\nVmPTE:          76 kB\nVmPMD:          12 kB\nVmSwap:          0 kB\nHugetlbPages:          0 kB        # 4.4\nCoreDumping:   0                       # 4.15\nThreads:        1\nSigQ:   0/3067\nSigPnd: 0000000000000000\nShdPnd: 0000000000000000\nSigBlk: 0000000000010000\nSigIgn: 0000000000384004\nSigCgt: 000000004b813efb\nCapInh: 0000000000000000\nCapPrm: 0000000000000000\nCapEff: 0000000000000000\nCapBnd: ffffffffffffffff\nCapAmb:   0000000000000000\nNoNewPrivs:     0\nSeccomp:        0\nSeccompfilters:        0\nSpeculationStoreBypass:       vulnerable\nCpusallowed:   00000001\nCpusallowedlist:      0\nMemsallowed:   1\nMemsallowedlist:      0\nvoluntaryctxtswitches:        150\nnonvoluntaryctxtswitches:     545\n\nThe fields are as follows:\n\nName   Command run by this process.  Strings longer than TASKCOMMLEN (16) characters\n(including the terminating null byte) are silently truncated.\n\nUmask  Process umask, expressed in octal with a leading zero;  see  umask(2).   (Since\nLinux 4.7.)\n\nState  Current  state  of the process.  One of \"R (running)\", \"S (sleeping)\", \"D (disk\nsleep)\", \"T (stopped)\", \"t (tracing stop)\", \"Z (zombie)\", or \"X (dead)\".\n\nTgid   Thread group ID (i.e., Process ID).\n\nNgid   NUMA group ID (0 if none; since Linux 3.13).\n\nPid    Thread ID (see gettid(2)).\n\nPPid   PID of parent process.\n\nTracerPid\nPID of process tracing this process (0 if not being traced).\n\nUid\nGid    Real, effective, saved set, and filesystem UIDs (GIDs).\n\nFDSize Number of file descriptor slots currently allocated.\n\nGroups Supplementary group list.\n\nNStgid Thread group ID (i.e., PID) in each of the PID namespaces of  which  pid  is  a\nmember.   The  leftmost entry shows the value with respect to the PID namespace\nof the process that mounted this procfs (or the root namespace  if  mounted  by\nthe  kernel),  followed  by  the value in successively nested inner namespaces.\n(Since Linux 4.1.)\n\nNSpid  Thread ID in each of the PID namespaces of which pid is a member.   The  fields\nare ordered as for NStgid.  (Since Linux 4.1.)\n\nNSpgid Process  group  ID in each of the PID namespaces of which pid is a member.  The\nfields are ordered as for NStgid.  (Since Linux 4.1.)\n\nNSsid  descendant namespace session ID hierarchy Session ID in each of the  PID  name‐\nspaces of which pid is a member.  The fields are ordered as for NStgid.  (Since\nLinux 4.1.)\n\nVmPeak Peak virtual memory size.\n\nVmSize Virtual memory size.\n\nVmLck  Locked memory size (see mlock(2)).\n\nVmPin  Pinned  memory size (since Linux 3.2).  These are pages that can't be moved be‐\ncause something needs to directly access physical memory.\n\nVmHWM  Peak resident set size (\"high water mark\").   This  value  is  inaccurate;  see\n/proc/pid/statm above.\n\nVmRSS  Resident  set  size.   Note that the value here is the sum of RssAnon, RssFile,\nand RssShmem.  This value is inaccurate; see /proc/pid/statm above.\n\nRssAnon\nSize of resident anonymous memory.  (since Linux 4.5).  This value  is  inaccu‐\nrate; see /proc/pid/statm above.\n\nRssFile\nSize  of resident file mappings.  (since Linux 4.5).  This value is inaccurate;\nsee /proc/pid/statm above.\n\nRssShmem\nSize of resident shared memory (includes System V shared memory, mappings  from\ntmpfs(5), and shared anonymous mappings).  (since Linux 4.5).\n\nVmData\nVmStk\nVmExe  Size  of  data,  stack,  and  text  segments.   This  value  is inaccurate; see\n/proc/pid/statm above.\n\nVmLib  Shared library code size.\n\nVmPTE  Page table entries size (since Linux 2.6.10).\n\nVmPMD  Size of second-level page tables (added in Linux 4.0; removed in Linux 4.15).\n\nVmSwap Swapped-out virtual memory size by anonymous private pages; shmem swap usage is\nnot  included  (since  Linux  2.6.34).    This   value   is   inaccurate;   see\n/proc/pid/statm above.\n\nHugetlbPages\nSize of hugetlb memory portions (since Linux 4.4).\n\nCoreDumping\nContains  the  value 1 if the process is currently dumping core, and 0 if it is\nnot (since Linux 4.15).  This information can be used by a  monitoring  process\nto  avoid  killing a process that is currently dumping core, which could result\nin a corrupted core dump file.\n\nThreads\nNumber of threads in process containing this thread.\n\nSigQ   This field contains two slash-separated numbers that relate to  queued  signals\nfor the real user ID of this process.  The first of these is the number of cur‐\nrently  queued  signals  for  this real user ID, and the second is the resource\nlimit on the number of queued signals for this process (see the description  of\nRLIMITSIGPENDING in getrlimit(2)).\n\nSigPnd\nShdPnd Mask  (expressed  in hexadecimal) of signals pending for thread and for process\nas a whole (see pthreads(7) and signal(7)).\n\nSigBlk\nSigIgn\nSigCgt Masks (expressed in hexadecimal) indicating signals being blocked, ignored, and\ncaught (see signal(7)).\n\nCapInh\nCapPrm\nCapEff Masks (expressed in hexadecimal) of capabilities enabled in  inheritable,  per‐\nmitted, and effective sets (see capabilities(7)).\n\nCapBnd Capability  bounding set, expressed in hexadecimal (since Linux 2.6.26, see ca‐\npabilities(7)).\n\nCapAmb Ambient capability set, expressed in hexadecimal (since Linux 4.3, see capabil‐\nities(7)).\n\nNoNewPrivs\nValue of the nonewprivs bit (since Linux 4.10, see prctl(2)).\n\nSeccomp\nSeccomp mode of the process (since Linux 3.8, see seccomp(2)).   0  means  SEC‐\nCOMPMODEDISABLED;  1  means SECCOMPMODESTRICT; 2 means SECCOMPMODEFILTER.\nThis field is provided only if the kernel was  built  with  the  CONFIGSECCOMP\nkernel configuration option enabled.\n\nSeccompfilters\nNumber  of  seccomp  filters attached to the process (since Linux 5.9, see sec‐\ncomp(2)).\n\nSpeculationStoreBypass\nSpeculation flaw mitigation state (since Linux 4.17, see prctl(2)).\n\nCpusallowed\nHexadecimal mask of CPUs on which this process may run (since Linux 2.6.24, see\ncpuset(7)).\n\nCpusallowedlist\nSame as previous, but in \"list format\" (since Linux 2.6.26, see cpuset(7)).\n\nMemsallowed\nMask of  memory  nodes  allowed  to  this  process  (since  Linux  2.6.24,  see\ncpuset(7)).\n\nMemsallowedlist\nSame as previous, but in \"list format\" (since Linux 2.6.26, see cpuset(7)).\n\nvoluntaryctxtswitches\nnonvoluntaryctxtswitches\nNumber of voluntary and involuntary context switches (since Linux 2.6.23).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5)\n\nLinux man-pages 6.7                          2023-10-23                           procpidstatus(5)",
            "subsections": []
        }
    },
    "summary": "/proc/pid/status - memory usage and status information",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        }
    ]
}