To view server statistics, you can use any of the following methods:
Use the Management Console to view statistics for specific entity types.
From the Management Console, select to display statistics in a spreadsheet format.
Use a spreadsheet program, such as Microsoft Excel, and import statistics. For example, from Excel, select Data | Import External Data | New Web Query. As the URL, enter:
http://host:port/wsh/run?command=get-statistics
where host and port are the server’s host name and HTTP port, respectively.
View statistics in text files in the server’s logs/statistics subdirectory.
Some statistics are not collected by default, such as memory usage statistics. To see these statistics, enable the scheduled tasks that record them as described in “Scheduled tasks for statistics collection” in Chapter 1, “Introduction,” in the EAServer Performance and Tuning Guide.
The remainder of this chapter describes using the Management Console to view statistics.
Viewing statistics in spreadsheet format
Expand the icon for the server you want to monitor.
On the General tab, select the Statistics URL.
In the Login dialog, enter the administrative user name and password for the Management Console.
A new window displays statistics for all the server’s entities.
Viewing statistics on entity tabs
Expand the icon for the server you want to monitor.
Highlight the Statistics folder. Statistics display in the right pane on the:
CheckMemoryUsageTask tab – memory use statistics.
HTTPStatsManager tab – HTTP connection statistics.
IIOPStatsManager tab – IIOP connection statistics.
ScheduledTask tab – scheduled task statistics.
ThreadMonitor tab – thread pool activity.
DataSource tab – data source connections.
InstancePool tab – component instance pool activity.
MessageQueue tab – statistics for message queue activity.
MessageTopic tab – statistics for message topic activity.
MethodProfiler tab – method invocations.
TransactionContext tab – transaction contexts.
TransactionManager tab – transactions.
Each tab displays counters, which represent monitored statistics, such as the number of component invocations or HTTP requests. When you select a tab, the current values of the counters display. There are several types of counters:
Snapshot counters represent values at a particular point in time that are likely to either increase or decrease. For example, number of sessions, number of instances active, number of active connections, and so on. Snapshot counters do not display information when set at the per-second rate; instead they display “N/A.”
Cumulative counters represent values that always increment and never decrement. For example, number of invocations, number of connections opened, number of network requests, bytes read and written, and so on. Cumulative counters display both per-second and counter information.
Peak maximum counters represent the total value since starting the server.
High-value counters represent the maximum value since starting the server.
Low-value counters represent the minimum value since starting the server.
To refresh or change the counters view, choose from:
Current Values Display the current values; this is the default.
60 Second Summary Display a summary of the values that pertain to the last 60 seconds.
60 Minute Summary Display a summary of the values that pertain to the last 60 minutes.
Some statistics are valid for a particular moment in time, so you must refresh the display to get the most current information.