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:
Code Block |
---|
ps -ef | grep python |
Where each process is being run is identified as follows:
Code Block |
---|
<Desktop folder>.<workflow name>.<workflow instance name>.<agent name> |
Info |
---|
title | Example of list of Python processes running |
---|
|
Code Block |
---|
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()) |
|