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
To get statistics for a configuration deployed on a single node, enter:
./wadm get-config-stats --user=
admin-user
--password-file=
admin-password-file
--config=
config-name
--node=
node-name
Using the
node
option in this syntax restricts the output to a single node. To get the statistics at
the configuration 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
Monitoring Server Performance
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
26
Содержание Sun Java System Web Server 7.0
Страница 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Страница 10: ...10 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 84: ...84 ...
Страница 100: ...100 ...