search cancel

Command line debug

book

Article ID: 90062

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Command line debug

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Symptoms
Debug initiation via the command line is accomplished by running an awexe command.  Once run, both Agent Service and RMI debugging can be enabled to run at a specific time for a defined duration.

Solution

Navigate to the AW_HOME/site folder of the Automation Engine

Set up the Applications Manager environment buy running sosite or sosite.bat
 
Run the awexe command
type:  awexe SCHEDULE_DEBUG START_TIME=<HH:mm> MINUTES=<mmm>

Agent service and RMI will be enabled when the start time is reached, and run for the length of time defined for minutes.

Example:  awexe SCHEDULE_DEBUG START_TIME=15:30 MINUTES=05
In the provided example AgentService and RMI debugging would start at 15:30, and run for five minutes.  The command can also be added to a script and scheduled to run during off hour times.