flatpak-ps
List running Flatpak application instances
TLDR
List running instances
$ flatpak ps
Show the application id and the sandbox process id$ flatpak ps --columns=application,child-pid
Show the runtime and its branch next to each application$ flatpak ps --columns=application,runtime,runtime-branch
List the column names this command accepts$ flatpak ps --columns=help
SYNOPSIS
flatpak ps [OPTIONS]
DESCRIPTION
flatpak ps lists Flatpak instances that are running. It is a subcommand of flatpak, not a separate program.Columns include instance, application, arch, branch, commit, runtime, runtime-branch, runtime-commit, pid (the wrapper process), child-pid (the sandbox process), active (whether the app has a window), and background (no open windows). all prints every column.The instance id is the value in the instance column. Details for that instance are in the file /run/user/$UID/.flatpak/INSTANCE/info.
PARAMETERS
-h, --help
Show help and exit.-v, --verbose
Print debug information while the command runs.--ostree-verbose
Print OSTree debug information while the command runs.--columns=FIELD[,FIELD]...
Choose which columns to print. Repeat the option or pass a comma-separated list. A column name may be shortened to a unique prefix. Append :start, :middle, :end, or :full to change how a long value is cut off.
INSTALL
sudo apt install flatpak
sudo dnf install flatpak
sudo pacman -S flatpak
sudo apk add flatpak
sudo zypper install flatpak
nix profile install nixpkgs#flatpak
SEE ALSO
flatpak(1), flatpak-run(1), flatpak-list(1)
