Question
Common Wealth Bank of Australia
IN
Last activity: 11 Jan 2018 1:55 EST
Check agent running or not from Command Line.
How to check an agent is running or not from Command Line.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Harpreet,
Just a confirmation, command line means the windows command prompt you are talking about? Because each agent is not a direct mapping to a thread in jvm, so we should go through PRPC.
Regards
Mahesh
EPAM Systems, Inc.
ES
Once you invoke agent from the command line, verify it running even in user's environment and following log statements confirm this:
201X-0X-XX HH:MM:22,373 [ abcdefgh] [ STANDARD] [ ] (al.util.AgentManagementUtility) INFO - Schedule of Agent AgentBulkProcessing found.
You can trace agents as well:-
Refer:
- https://pdn.pega.com/troubleshooting-agents/troubleshooting-agents#TrcLogf
- https://collaborate.pega.com/discussion/video-support-guide-how-trace-agent-designer-studio
Hope it answers your query, kindly notify by marking the post as answered.
Regards,
Asif
Common Wealth Bank of Australia
IN
Hi Asif
To clarify Aim is not to invoke agent from command line.
But only to check agent is running or not from command Line.
Accepted Solution
Pegasystems Inc.
US
Hi Harpreet,
Just a confirmation, command line means the windows command prompt you are talking about? Because each agent is not a direct mapping to a thread in jvm, so we should go through PRPC.
Regards
Mahesh
Common Wealth Bank of Australia
IN
Yes I mean the windows command prompt.
Pegasystems Inc.
US
I don't find any OOTB way to achieve this in normal command prompt, i am trying to write some java code to get the agent running status so that i can call it from command prompt. I will let you know if i can succeed in this way.
Common Wealth Bank of Australia
IN
Thanks.
Common Wealth Bank of Australia
IN
Highly appreciate if you could provide more understanding on how the agent status are displayed in GUI while there are no individual process or agents not mapped to a thread in JVM.