www.LinuxHowtos.org
run-ps
Section: Misc. Reference Manual Pages (8)Index Return to Main Contents
NAME
run-ps - display the processes inside a container
SYNOPSIS
runc ps [option ...] containe-id [p-option ...]
DESCRIPTION
The command ps is a wrapper around the stock ps(1) utility, which filters its output to only contain processes belonging to a specified containe-id. Therefore, the PIDs shown are the host PIDs.
Any ps(1) options can be used, but some might break the filtering. In particular, if PID column is not available, an error is returned, and if there are columns with values containing spaces before the PID column, the result is undefined.
OPTIONS
- -format|-f table|json
-
Output format. Default is table. The json format shows a mere array
of PIDs belonging to a container; if used, all ps options are gnored.
SEE ALSO
run-list(8), runc(8).