Application Discovery 7.2 User Guide

-[no]daemon [Do not] run the agent as a daemon. -daemon is the default
setting for amgrd. Use -nodaemon only for triage as the
agent will die if the terminal session ends or the terminal is
disconnected.
-[no]debug [Do not] run the agent in debug mode.
-noreload Do not read in persisted data (used when agent is started
or restarted).
-packfreq interval{s|m|h} Set the package catalog collection frequency to a number
t, with sfor seconds, m for minutes, or h for hours.
-procfreq interval{s|m|h} Set the process collection frequency to a number t, with s
for seconds, m for minutes, or h for hours.
-server s 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 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 Stop a running agent.
-u (usage) Show current usage information and exit.
-v (version) Show current Application Discovery version and
exit.
-verbose v 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
Installation
The amgrd command can be installed from a depot available on the software depot page for HP
Matrix Operating Environment. For installation instructions, please visit the web site at the following
URL:
http://www.hp.com/go/matrixoe/docs
RETURN VALUES
0 The command completed successfully; no errors were detected.
1 An 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
59