LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

psgrep

Search for processes by name pattern

TLDR

Search processes by name
$ psgrep [pattern]
copy
Case insensitive search
$ psgrep -i [pattern]
copy
Show full command line
$ psgrep -f [pattern]
copy

SYNOPSIS

psgrep [options] pattern

DESCRIPTION

psgrep is a convenience wrapper that combines ps and grep to search for running processes by name or pattern. It filters the process list and displays matching entries, automatically excluding the grep process itself from the results to avoid false matches.The tool provides a simpler alternative to the `ps aux | grep pattern` idiom. On many systems, the built-in pgrep command offers similar functionality with more options.

PARAMETERS

PATTERN

Process name pattern.
-i
Case insensitive.
-f
Full command line.
-v
Invert match.

INSTALL

brew install psgrep
copy

CAVEATS

Different implementations exist. Some systems use pgrep.

HISTORY

psgrep was created as a convenience wrapper for process searching.

SEE ALSO

pgrep(1), ps(1), grep(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid