1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
7 .TH proc_pid_status 5 (date) "Linux man-pages (unreleased)"
9 /proc/pid/status \- memory usage and status information
12 .IR /proc/ pid /status
13 Provides much of the information in
17 in a format that's easier for humans to parse.
22 .RB "$" " cat /proc/$$/status"
31 Uid: 1000 1000 1000 1000
55 HugetlbPages: 0 kB # 4.4
59 SigPnd: 0000000000000000
60 ShdPnd: 0000000000000000
61 SigBlk: 0000000000010000
62 SigIgn: 0000000000384004
63 SigCgt: 000000004b813efb
64 CapInh: 0000000000000000
65 CapPrm: 0000000000000000
66 CapEff: 0000000000000000
67 CapBnd: ffffffffffffffff
68 CapAmb: 0000000000000000
72 Speculation_Store_Bypass: vulnerable
73 Cpus_allowed: 00000001
77 voluntary_ctxt_switches: 150
78 nonvoluntary_ctxt_switches: 545
82 The fields are as follows:
86 Command run by this process.
89 (16) characters (including the terminating null byte) are silently truncated.
92 Process umask, expressed in octal with a leading zero; see
97 Current state of the process.
109 Thread group ID (i.e., Process ID).
112 NUMA group ID (0 if none; since Linux 3.13).
119 PID of parent process.
122 PID of process tracing this process (0 if not being traced).
125 Real, effective, saved set, and filesystem UIDs (GIDs).
128 Number of file descriptor slots currently allocated.
131 Supplementary group list.
134 Thread group ID (i.e., PID) in each of the PID namespaces of which
137 The leftmost entry shows the value with respect to the PID namespace
138 of the process that mounted this procfs (or the root namespace
139 if mounted by the kernel),
140 followed by the value in successively nested inner namespaces.
141 .\" commit e4bc33245124db69b74a6d853ac76c2976f472d5
145 Thread ID in each of the PID namespaces of which
148 The fields are ordered as for
153 Process group ID in each of the PID namespaces of which
156 The fields are ordered as for
161 descendant namespace session ID hierarchy
162 Session ID in each of the PID namespaces of which
165 The fields are ordered as for
170 Peak virtual memory size.
176 Locked memory size (see
181 .\" commit bc3e53f682d93df677dbd5006a404722b3adfe18
183 These are pages that can't be moved because something needs to
184 directly access physical memory.
187 Peak resident set size ("high water mark").
188 This value is inaccurate; see
189 .IR /proc/ pid /statm
194 Note that the value here is the sum of
199 This value is inaccurate; see
200 .IR /proc/ pid /statm
204 Size of resident anonymous memory.
205 .\" commit bf9683d6990589390b5178dafe8fd06808869293
207 This value is inaccurate; see
208 .IR /proc/ pid /statm
212 Size of resident file mappings.
213 .\" commit bf9683d6990589390b5178dafe8fd06808869293
215 This value is inaccurate; see
216 .IR /proc/ pid /statm
220 Size of resident shared memory (includes System V shared memory,
223 and shared anonymous mappings).
224 .\" commit bf9683d6990589390b5178dafe8fd06808869293
227 .IR VmData ", " VmStk ", " VmExe
228 Size of data, stack, and text segments.
229 This value is inaccurate; see
230 .IR /proc/ pid /statm
234 Shared library code size.
237 Page table entries size (since Linux 2.6.10).
240 .\" commit dc6c9a35b66b520cf67e05d8ca60ebecad3b0479
241 Size of second-level page tables (added in Linux 4.0; removed in Linux 4.15).
244 .\" commit b084d4353ff99d824d3bc5a5c2c22c70b1fba722
245 Swapped-out virtual memory size by anonymous private pages;
246 shmem swap usage is not included (since Linux 2.6.34).
247 This value is inaccurate; see
248 .IR /proc/ pid /statm
252 Size of hugetlb memory portions
253 .\" commit 5d317b2b6536592a9b51fe65faed43d65ca9158e
257 Contains the value 1 if the process is currently dumping core,
259 .\" commit c643401218be0f4ab3522e0c0a63016596d6e9ca
261 This information can be used by a monitoring process to avoid killing
262 a process that is currently dumping core,
263 which could result in a corrupted core dump file.
266 Number of threads in process containing this thread.
269 This field contains two slash-separated numbers that relate to
270 queued signals for the real user ID of this process.
271 The first of these is the number of currently queued
272 signals for this real user ID, and the second is the
273 resource limit on the number of queued signals for this process
274 (see the description of
279 .IR SigPnd ", " ShdPnd
280 Mask (expressed in hexadecimal)
281 of signals pending for thread and for process as a whole (see
286 .IR SigBlk ", " SigIgn ", " SigCgt
287 Masks (expressed in hexadecimal)
288 indicating signals being blocked, ignored, and caught (see
291 .IR CapInh ", " CapPrm ", " CapEff
292 Masks (expressed in hexadecimal)
293 of capabilities enabled in inheritable, permitted, and effective sets
295 .BR capabilities (7)).
298 Capability bounding set, expressed in hexadecimal
299 (since Linux 2.6.26, see
300 .BR capabilities (7)).
303 Ambient capability set, expressed in hexadecimal
304 (since Linux 4.3, see
305 .BR capabilities (7)).
308 .\" commit af884cd4a5ae62fcf5e321fecf0ec1014730353d
312 (since Linux 4.10, see
316 .\" commit 2f4b3bf6b2318cfaa177ec5a802f4d8d6afbd816
317 Seccomp mode of the process
318 (since Linux 3.8, see
321 .BR SECCOMP_MODE_DISABLED ;
323 .BR SECCOMP_MODE_STRICT ;
325 .BR SECCOMP_MODE_FILTER .
326 This field is provided only if the kernel was built with the
328 kernel configuration option enabled.
331 .\" commit c818c03b661cd769e035e41673d5543ba2ebda64
332 Number of seccomp filters attached to the process
333 (since Linux 5.9, see
336 .I Speculation_Store_Bypass
337 .\" commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64
338 Speculation flaw mitigation state
339 (since Linux 4.17, see
343 Hexadecimal mask of CPUs on which this process may run
344 (since Linux 2.6.24, see
348 Same as previous, but in "list format"
349 (since Linux 2.6.26, see
353 Mask of memory nodes allowed to this process
354 (since Linux 2.6.24, see
358 Same as previous, but in "list format"
359 (since Linux 2.6.26, see
362 .IR voluntary_ctxt_switches ", " nonvoluntary_ctxt_switches
363 Number of voluntary and involuntary context switches (since Linux 2.6.23).