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/.venv/drumcoder/bin/gunicorn --workers 1 --error-logfile /var/log/gunicorn/drumcoder.log -b localhost:8001 -n drumcoder drumcoder.drumcoder-wsgi:application …