mngsvrutil (Management Server management command)
Format
mngsvrutil [-m host-name [:port-number]
[-u management-user-id] [-p management-user-password]
[[-o file-name] [-h] [-t target-name] [-k target-type]
[-s] [-i monitoring-time-interval] [-l maximum-monitoring-time]
subcommand arguments]]
Function
This command connects to Management Server to execute the operations in management domain.
This command can be used for the following functions:
Arguments
Return value
Output format
Configuration file
No. | target_kind | target_name | target_server_name | -k | -t | Specified value interpretation |
---|---|---|---|---|---|---|
1 | logicalServer/-- | -- | -- | logicalServer/-- | -- | No server name is specified. |
2 | logicalServer/-- | A | B/-- | logicalServer/-- | -- | Server whose name is A is specified. |
3 | logicalServer/-- | -- | B | logicalServer/-- | -- | Server whose name is B is specified. |
4 | logicalServer/-- | A/-- | B/-- | logicalServer/-- | C | Server whose name is C is specified. |
5 | host | -- | -- | -- | -- | No host name is specified. |
6 | host/-- | -- | -- | Host | -- | No host name is specified. |
7 | host | -- | B | -- | -- | No host name is specified. |
8 | host/-- | -- | B | Host | -- | No host name is specified. |
9 | host | A | B/-- | -- | -- | Host whose name is A is specified. |
10 | host/-- | A/-- | B/-- | Host | C | Host whose name is C is specified. |
Input/output examples
$ mngsvrutil -m 123.45.67.89:28880 -u admin1 -p pw1 list status
logicalServerName,status,type,startingOrder,parent
smplSvrName1,working,NamingService,10,-
smplSvrName2,starting,SFOServer,15,-
smplSvrName3,stopped,J2EEServer,20,J2EEServerCluster1
smplSvrName4,starting,J2EEServer,30,J2EEServerCluster1
smplSvrName5,stopping,WebServer,40,WebServerCluster1
smplSvrName6,abnormal ended,J2EEServer,50,-
smplSvrName7,recovering,J2EEServer,60,-
smplSvrName8,communication error,J2EEServer,70,J2EEServerCluster2
...
...
$ mngsvrutil -m localhost -u admin1 -p pw1 get domainName
smplDomainName
Collect information about J2EE applications:
$ mngsvrutil -m 123.45.67.89 -u admin2 -t myServer get j2eeApps
index,fullyQualifiedName,name,deployedTime
1,serverName1:smplApp1,smplApp1,1234567890
2,serverName2:smplApp2,smplApp2,9876543210
...
...
7,serverName7:smplApp7_TEST,smplApp7,7656543210
$ mngsvrutil -m 123.45.67.89 -u admin2 -t myServer get statelessBeanHome
index,fullyQualifiedName,name,responseMaxTime,responseMinTime,responseAveTime,statisticsStartedTime,samplingTime
1,smpQfn1,smplBeanName1,300,100,123.45,67339847,600
2,smpQfn2,smplBeanName2,17,52,34.251,122343838,10
...
...
$ mngsvrutil -m 123.45.67.89 -u admin2 -t hostA -k host hold queues in:-1
$ mngsvrutil -m 123.45.67.89 -u admin2 -t hostA -k host release queues
$ mngsvrutil -m 123.45.67.89 -u admin2 collect allPrfTraces
Settings for SNMP integration (In UNIX)
To specify settings for SNMP integration in UNIX:
Notes