Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


8.3.1 adshappagent command (application execution agent start command) [only for Windows execution environment]

Syntax

adshappagent [-q] [-c]

Description

This command starts the application execution agent, monitors execution of the adshappexec command and then starts the executable application specified by the adshappexec command.

Each user executing the adshappexec command needs to execute the adshappexec command (mapping OS user of JP1/Base).

The user must be assigned rights with the administration tool of Windows under Local security policy > Local policy > Assign user rights > Create global object.

If the right to "create a global object" cannot be enabled due to security problems, a user who can enable the rights to "create a global object" must use the application execution agent function.

Functions for performing registration on startup of Windows and cancellation from startup are provided. We recommend using this function to automatically start up at logon.

If you select All Programs > Advanced Shell > Application Execution Agent from Start menu of Windows, theApplication Execution Agent icon appears in the notification area of the Task bar.

[Figure]

If you place a cursor on the Application Execution Agent icon, the following description of the icon appears:

[Figure]

Status of icons changes as follows:

[Figure]

(Icon color: White) The executable application has not been started yet.

[Figure]

(Icon color: Green) The executable application is being executed.

[Figure]

(Icon color: Yellow) The executable application is forcibly terminated.

Use the argument-c of the adshappagent command or adshappexec command when you reference the information of the running executable application. Information cannot be obtained from the job definition script.

Arguments

No arguments are specified.

Start up the application execution agent.

-q

Terminates the application execution agent.

To terminate the application execution agent including when you switch the node of cluster link, use this argument.

-c

This command outputs contents of the shared memory of the application-execution agent functionality.

The adshcollect command uses this argument.

To use the application execution agent, the agent needs to be redirected to the file.

Information is not displayed on the console.

In addition, the information to be acquired is the information for each login user and this information needs to be acquired with the executed login user.

Return codes

Return code

Meaning

0

Normal termination.

Other than 0

Termination with an error.

Notes