-[no]daemon

-[no]debug -noreload

-packfreq interval{smh}

-procfreq interval{smh}

-server s

-start

-stop -u -v

-verbose v

Installation

[Do not] run the agent as a daemon. -daemonis the default setting for amgrd. Use -nodaemononly for triage as the agent will die if the terminal session ends or the terminal is disconnected.

[Do not] run the agent in debug mode.

Do not read in persisted data (used when agent is started or restarted).

Set the package catalog collection frequency to a number t, with s for seconds, m for minutes, or h for hours.

Set the process collection frequency to a number t, with s for seconds, m for minutes, or h for hours.

Connect to, try to connect to, or only communicate with the Application Discovery server on machine s, where s is the address of a machine running a central management server.

Start an agent and read in persisted data. This option is needed explicitly to enable the setting of restart and starting or restarting on the same invocation.

Stop a running agent.

(usage) Show current usage information and exit.

(version) Show current Application Discovery version and exit.

Set log verbose to v, which can have the following values: 0 = Disable log

1= LOG_FATAL

2 = LOG_ERROR

3 = LOG_WARN

4 = LOG_ALWAYS

5 = LOG_NOTE (default)

6 = LOG_TRACE

The amgrd command can be installed from a depot available on the HP VSE Managed Node Software Update web site. For installation instructions, please visit the web site at the following URL:

http://docs.hp.com/

RETURN VALUES

0The command completed successfully; no errors were detected.

1An error occurred, and the command did not complete successfully.

EXAMPLES

Start Application Discovery Agent as a daemon, and allow it to run with default options picked from the file /var/opt/amgr/agent.properties:

#/opt/amgr/bin/amgrd <timestamp> Starting agent...

Check the connection status of Application Discovery agent:

#/opt/amgr/bin/amgrd -connectionstatus

OK

57