FLATPAK-PS(1)

✨ FLATPAK PS ✨

okay bestie, welcome to flatpak-ps πŸ’… this is the Enumerate running instances page from the flatpak ps corner of the flatpak(1) manual, and yes we are gonna read the whole thing together, no skimming 🫢


🌸 SYNOPSIS 🌸

flatpak ps [OPTION...]

that's it. that's the whole vibe. options only, no positional args, she's low maintenance πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

She lists useful information about running Flatpak instances. That's the whole job. Iconic, honestly.

And okay, if you want the full details of a running instance β€” like, the whole tea β€” you can just open this file:

/run/user/$UID/.flatpak/$INSTANCE/info

where $INSTANCE is the instance ID that flatpak ps reported to you in the first place. So flatpak ps tells you the name, and the info file spills everything else πŸ”₯


πŸ’… OPTIONS πŸ’…

here's what she understands, bestie:

  • -h, --help β€” shows the help options and then dips. exit, stage left πŸŽ€
  • -v, --verbose β€” prints debug information while the command is doing its thing. she's yapping but it's useful yapping ✨
  • --ostree-verbose β€” prints OSTree debug information during command processing. even more yapping. deep lore 🧚
  • --columns=FIELD,... β€” tell her exactly what information to show about each instance. You can list multiple fields, or just use this option multiple times, your call, she's flexible πŸ’œ

You can also append :s[tart], :m[iddle], :e[nd] or :f[ull] to column names to change the ellipsization. yes that's a real word. yes it matters. it controls where the text gets chopped off when it's too long 🌈


πŸ‘‘ FIELDS πŸ‘‘

These are the fields that the --columns option understands, and honestly the range is giving:

  • instance β€” Show the instance ID
  • application β€” Show the application ID
  • arch β€” Show the architecture
  • branch β€” Show the application branch
  • commit β€” Show the application commit
  • runtime β€” Show the runtime ID
  • runtime-branch β€” Show the runtime branch
  • runtime-commit β€” Show the runtime commit
  • pid β€” Show the PID of the wrapper process
  • child-pid β€” Show the PID of the sandbox process
  • active β€” Show whether the app is active (i.e. has an active window)
  • background β€” Show whether the app is in the background (with no open windows)
  • all β€” Show all columns
  • help β€” Show the list of available columns
πŸ“Œ heads up: field names can be abbreviated to a unique prefix. So like, shorten them, but only as far as they stay unambiguous, okay? don't be out here causing chaos πŸ™ˆ

πŸ“ EXAMPLES πŸ“

look at her go:

$ flatpak ps --columns=application,pid,runtime,runtime-branch

picking exactly the columns she wants. main character energy, no notes πŸ’–


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, you ate that 🫢 this was FLATPAK PS(1) from the flatpak manual β€” section 1, the classic β€” so go forth, run flatpak ps, and check your instances like the icon you are. periodt πŸ’…βœ¨πŸ‘‘

πŸ“¦ where this page comes from