Limit matches to one or more users.
Section: Filtering and Sorting
Find process owned by user
bash
bash
pgrep -u www-data nginxExplanation
Limit matches to one or more users.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filtering and Sorting