LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

flatpak-ps

List running Flatpak application instances

TLDR

List running instances
$ flatpak ps
copy
Show the application id and the sandbox process id
$ flatpak ps --columns=application,child-pid
copy
Show the runtime and its branch next to each application
$ flatpak ps --columns=application,runtime,runtime-branch
copy
List the column names this command accepts
$ flatpak ps --columns=help
copy

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
copy
sudo dnf install flatpak
copy
sudo pacman -S flatpak
copy
sudo apk add flatpak
copy
sudo zypper install flatpak
copy
nix profile install nixpkgs#flatpak
copy

SEE ALSO

RESOURCES

Copied to clipboard
Kai