Monitoring Current Activity Using the CLI
You can also view statistics information using the wadm commands get-config-stats,
get-virtual-server-stats, get-webapp-stats and get-servlet-stats. Note that the
examples below do not contain all possible command options. For the complete syntax, see the
help for the command.
▼
To Monitor Statistics from the CLI
Toget statistics for a conguration deployedon a single node,enter:
./wadm get-config-stats --user=admin-user --password-file=admin-password-le
--config=cong-name --node=node-name
Using the node option in this syntax restricts the output to a single node. To get the statistics at
the conguration level, use the command without the node option.
The following shows an example of the output for a single node:
timeStarted=1168035653
secondsRunning=1404
countRequests=690546
rpsLast1MinAvg=4491.7666
rpsLast5MinAvg=1844.6061
rpsLast15MinAvg=637.37305
countErrors=0
epsLast1MinAvg=0.0
epsLast5MinAvg=0.0
epsLast15MinAvg=0.0
maxResponseTime=0.30789953
rtLast1MinAvg=5.3970284
rtLast5MinAvg=5.208407
rtLast15MinAvg=35.56042
countBytesReceived=96800935
countBytesTransmitted=689929574
countChildDied=0
countVirtualServers=2
instanceName=https-test
process.1.countThreadPools=2
process.1.jdbcPoolCount=1
process.1.countThreads=64
process.1.fractionSystemMemoryUsage=2887.0
process.1.countConnectionQueues=1
process.1.sizeResident=0
process.1.countIdleThreads=32
process.1.mode=1
process.1.sizeVirtual=0
process.1.countConfigurations=1
process.1.pid=15874
1
MonitoringServerPerformance
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide •26