github.com/opencontainers/runc@v1.2.0-rc.1.0.20240520010911-492dc558cdd6/man/runc-ps.8.md (about) 1 % runc-ps "8" 2 3 # NAME 4 **runc-ps** - display the processes inside a container 5 6 # SYNOPSIS 7 **runc ps** [_option_ ...] _container-id_ [_ps-option_ ...] 8 9 # DESCRIPTION 10 The command **ps** is a wrapper around the stock **ps**(1) utility, 11 which filters its output to only contain processes belonging to a specified 12 _container-id_. Therefore, the PIDs shown are the host PIDs. 13 14 Any **ps**(1) options can be used, but some might break the filtering. 15 In particular, if PID column is not available, an error is returned, 16 and if there are columns with values containing spaces before the PID 17 column, the result is undefined. 18 19 # OPTIONS 20 **--format**|**-f** **table**|**json** 21 : Output format. Default is **table**. The **json** format shows a mere array 22 of PIDs belonging to a container; if used, all **ps** options are gnored. 23 24 # SEE ALSO 25 **runc-list**(8), 26 **runc**(8).