Listing Python Processes (4.1)
As each Python agent runs a Python process, you can list which Python processes are being run, and where. Â For example the following command lists the Python processes per Python agent:
ps -ef | grep python
Where each process is being run is identified as follows:
<workflow name>.<agent name>
Example of List of Python Processes Running
ubuntu 3661 3334 0 11:06 pts/0 00:00:00 python -c 'Default.MyWorkflow.workflow_1.Python_1'; import sys; exec(sys.stdin.read())
ubuntu 3670 3334 0 11:06 pts/0 00:00:00 python -c 'Default.MyWorkflow.workflow_1.Python_2'; import sys; exec(sys.stdin.read())
ubuntu 3678 3334 0 11:06 pts/0 00:00:00 python -c 'Default.MyWorkflow.workflow_1.Python_3'; import sys; exec(sys.stdin.read())