beautypg.com

8-5 getdebuglevel, 8-6 getlogfile – HP XP Command View Advanced Edition Software User Manual

Page 205

background image




Command line interface commands



205

Command execution example:

hdvmcli GetAlerts -o D:\logs\GetAlerts.log "countfilter=2"
"timefilter=2002/04/01 00:00:00"

Command execution result:

RESPONSE

An instance of Alerts

Contains 2Alert instances:

An instance of Alert

number=2

type=Server

source=*****

severity=3

component=DKU drive

description=Serious error detected on DKU drive.

actionToTake=Contact Customer Support.

data=Component has stopped.

timeOfAlert=2003/01/06 20:13:56

An instance of Alert

number=1

type=Server

source=*****

severity=4

component=DKC processor

description=Moderate error detected on DKC processor.

actionToTake=Contact Customer Support.

data=Component does not function fully.

timeOfAlert=2003/01/06 20:13:51

*****

: The values are encoded by the CLI.

4-8-5 GetDebugLevel

GetDebugLevel

returns the current debug level setting of the Device Manager server. The debug

level affects the amount of information written to the trace.log file. There are no parameters.

For this command, there are no access restrictions regarding the resource groups or permissions
assigned to a user.

Command execution example:

hdvmcli GetDebugLevel -o "D:\logs\GetDebugLevel.log"

Command execution result:

RESPONSE

An instance of DebugLevel

value=0 [Full Debugging trace]

description=Debugging Trace

4-8-6 GetLogFile

GetLogFile

returns the requested Device Manager server log file (see

Table 4-93

).

For this command, there are no access restrictions regarding the resource groups or permissions
assigned to a user.