How to check for Prefect Agent processes running on Linux or Mac

See all running Python processes with:

pgrep python

Then you can see the specifics for any of those processes with:

ps -f -p replace_with_process_id_number

Then you can kill any running processes with:

sudo kill replace_with_process_id_number

You may be prompted for your system password.

1 Like