runc-ps(8)
β¨ runc-ps β¨
okay so real quick, this is a page from the System Manager's Manual β yes bestie, that's the runc-ps(8) manual, and we're about to make it make sense π
πΈ NAME πΈ
runc-ps β show me the processes chillin' inside a container π«Ά
π¦ SYNOPSIS π¦
runc ps [option ...] container-id [ps-option ...]
π DESCRIPTION π
So ps here is basically a glow-up wrapper around the regular stock ps(1) utility π₯ β except it filters the output so you only see the processes that belong to the container you named with container-id. Which means, important bestie detail: the PIDs you see are the host PIDs π no cap.
You can throw any ps(1) options at it, but heads up β some of them can break the filtering π. Specifically:
- if the PID column isn't available, you get an error back. periodt.
- if there are columns whose values contain spaces and they come before the PID column, then the result is undefined π (yes, undefined. we don't make the rules.)
β¨ OPTIONS β¨
--format|-ftable|jsonβ picks how the output looks. Default istable. Thejsonformat gives you just a bare array of the PIDs that belong to the container β nothing else, just the PIDs π. And if you use it, all the ps options get ignored. like, completely. sorry babe π
π§ SEE ALSO π§
and that's the whole vibe, bestie π this lil page came straight out of the System Manager's Manual, and yeah the source and date line at the bottom just says runc-ps(8) β so consider yourself signed off on, mwah ππβ¨
π¦ where this page comes from
- alpine 3.24: runc-doc 1.4.3-r2 Β· Apache-2.0
- arch rolling: runc 1.5.2-1 Β· Apache
- fedora 43: runc 2:1.3.1-1.fc43 Β· Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT
- fedora 43: runc 2:1.5.2-3.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.4.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.5.2-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- nixpkgs unstable: runc 1.5.2
- ubuntu resolute: runc 1.4.0-0ubuntu1 Β· Apache-2.0
- ubuntu resolute: runc-stable 1.3.4-0ubuntu1 Β· Apache-2.0
- ubuntu stonking: runc 1.5.1-0ubuntu2 Β· Apache-2.0
- ubuntu stonking: runc-stable 1.5.1-0ubuntu2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms