
$ /home/user/rhino/client/bin/rhino-stats -l Events
Parameter Set Type: Events
Description: Event stats
Counter type statistics:
Name: Label: Description:
accepted n/a Accepted events
failed n/a Events that failed in event processing
rejected n/a Events rejected due to overload
successful n/a Event processed successfully
Sample type statistics:
Name: Label: Description:
eventProcessin EPT Total event processing time
eventRouterSet ERT Event router setup time
numSbbsInvoked #sbbs Number of sbbs invoked per event
sbbProcessingT SBBT SBB processing time
Found 9 parameter sets of type ’Events’ available for monitoring:
-> "Events"
-> "Events.Rhino internal"
-> "Events.Rhino internal.[javax.slee.ActivityEndEvent javax.slee, 1.0]"
-> "Events.Rhino internal.[javax.slee.serviceactivity.ServiceStartedEvent javax.slee, 1.0]"
-> "Events.TestRA"
-> "Events.TestRA.[com.opencloud.slee.resources.simple.End Open Cloud Ltd., 1.0]"
-> "Events.TestRA.[com.opencloud.slee.resources.simple.Mid Open Cloud Ltd., 1.0]"
-> "Events.TestRA.[com.opencloud.slee.resources.simple.Start Open Cloud Ltd., 1.0]"
-> "Events.cdr"
From the above output, it can be seen that there are many different parameter sets of the type
Events
available. This allows the
user to select the level of granularity at which they want statistics reported. To monitor a parameter set in real-time using the
console interface use the -m command line argument followed by the parameter set name.
[user@host rhino]$ ./client/bin/rhino-stats -m Transactions
2005-04-18 20:44:52.070 INFO [rhinostat] Cluster has members [101]
2005-04-18 20:44:52.175 INFO [rs] Cluster membership => members=[101] left=[] joined=[101]
2005-04-18 20:44:52.225 INFO [rs]
2005-04-18 20:44:52.226 INFO [rs] active committed rolledBack started
2005-04-18 20:44:52.226 INFO [rs] ------- ---------- ----------- --------
2005-04-18 20:44:52.226 INFO [rs] node-101 3 | - | - | -
2005-04-18 20:44:53.242 INFO [rs] node-101 5 | 42 | 0 | 44
2005-04-18 20:44:54.257 INFO [rs] node-101 6 | 68 | 0 | 69
2005-04-18 20:44:55.275 INFO [rs] node-101 8 | 44 | 0 | 46
2005-04-18 20:44:56.298 INFO [rs] node-101 5 | 54 | 0 | 51
2005-04-18 20:44:57.312 INFO [rs] node-101 8 | 52 | 0 | 55
2005-04-18 20:44:58.344 INFO [rs] node-101 7 | 66 | 0 | 65
2005-04-18 20:44:59.362 INFO [rs] node-101 5 | 57 | 0 | 55
2005-04-18 20:45:00.382 INFO [rs] node-101 2 | 40 | 0 | 37
...
Once started
rhino-stats
will continue to extract and print the latest statistics every 1 second. This period can be changed
using the
-s
switch.
8.3.1 Useful output options
The default console output is not particularly useful when you want to do automated processing of the logged statistics. To
make post-processing of the statistics easier,
rhino-stats
supports a number of command line arguments which modify the
Open Cloud Rhino 1.4.3 Administration Manual v1.1 58
Comentarios a estos manuales