Blog Archive for January 10, 2019

ps to find command line

January 10, 2019

I wanted to use ps on linux to find the full command line that a process was started with. This can be done using the options -eaf

ps -eaf | grep drumcoder                     
root     28382 28322  0 08:18 pts/0    00:00:00 /home/drumcoder/.venv/drumcoder/bin/python /home/drumcoder ...

Tags: ps gunicorn