CLI script to see if agent is already created in DE (dSeries) Workload Automation
Article ID: 92370
CA Workload Automation DE - System Agent (dSeries)
How to use a CLI command in a script to see if agent is already created in Workload Automation DE (dSeries).
CA Workload Automation DE (dSeries)
In Workload Automation DE, you can use the LISTAGENT CLI command to list and display the status information of agents defined on the DE Server.
On the Unix server, run the CLI script to execute the LISTAGENT CLI command. For example;
./cli DE_Server 7500 schedmaster schedmaster 'listagent agent("*")'
Also, you can setup a script and redirect the output to a file.