runc-ps(8)

πŸ“¦
version 1.5.2 Β· 3 versions
, in alpine 3.24, arch rolling, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ 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 | -f table|json β€” picks how the output looks. Default is table. The json format 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