- git clone git@github.com:/brendangregg/flamegraph
- pick the python worker. based on the following command:
ps -aux | grep python
# or
top -o RES -c
If you know what process you want to monitor just get the pid of the process. 3. Attach the pyflame with the process.