LinuxCommandLibrary

frida-ps

List processes on local and remote devices using Frida

TLDR

List all processes on the local machine

$ frida-ps
copy
List processes on a USB-connected device
$ frida-ps -U
copy
List only running applications on a USB device
$ frida-ps -Ua
copy
List all installed applications on a USB device (running or not)
$ frida-ps -Uai
copy
List processes on a specific device by ID
$ frida-ps -D [device_id]
copy
Output process list as JSON
$ frida-ps -Uaj
copy

SYNOPSIS

frida-ps [options]

DESCRIPTION

frida-ps is a command-line tool for listing processes, part of the Frida dynamic instrumentation toolkit. It functions similarly to the Unix ps command but is designed to work with both local and remote devices (USB-connected phones, remote frida-server instances). It can list all running processes, filter to only applications, show installed but not running applications, and output results as JSON for scripting.

PARAMETERS

-a, --applications

List only applications, not all system processes
-i, --installed
Include all installed applications (requires -a)
-j, --json
Output results as JSON
-e, --exclude-icons
Exclude icons in output
-U, --usb
Connect to USB device
-R, --remote
Connect to remote frida-server
-H HOST, --host HOST
Connect to remote frida-server on HOST
-D ID, --device ID
Connect to device with the given ID

CAVEATS

To list processes on a remote or USB-connected device, frida-server must be running on that device with appropriate permissions. The -i flag requires -a; using --installed without --applications will report an error. On the local machine, listing processes of other users may require elevated privileges.

HISTORY

frida-ps has been part of the Frida toolkit since its early releases. It is included in the frida-tools package, installable via pip install frida-tools. Frida was created by Ole Andre Vadla Ravnas and publicly released in 2014.

SEE ALSO

frida(1), frida-trace(1), ps(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard