1runc-ps(8) System Manager's Manual runc-ps(8)
2
3
4
6 runc-ps - display the processes inside a container
7
8
9
11 runc ps [option ...] container-id [ps-option ...]
12
13
14
16 The command ps is a wrapper around the stock ps(1) utility, which fil‐
17 ters its output to only contain processes belonging to a specified con‐
18 tainer-id. Therefore, the PIDs shown are the host PIDs.
19
20
21 Any ps(1) options can be used, but some might break the filtering. In
22 particular, if PID column is not available, an error is returned, and
23 if there are columns with values containing spaces before the PID col‐
24 umn, the result is undefined.
25
26
27
29 --format|-f table|json
30 Output format. Default is table. The json format shows a mere
31 array of PIDs belonging to a container; if used, all ps options
32 are gnored.
33
34
35
37 runc-list(8), runc(8).
38
39
40
41 runc-ps(8)