Explanation of cserver stats command

Document ID : KB000033158
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

cserver stats command could be executed on a Scalability Server in order to get statistics and metrics information about the cserver plugin.
The command returns a result in a xml format. How interprets this result ?
 
 
cserver stats
 

 

Instructions: 

 
Here is the explanation of every lines returned by cserver stats command :
 
 
<message version="1.0.0.0"><res_get_stats version="0.0.0.0"><server_statistics> Header of message. Start of Statistics. The statistics are reset to zero after every start of cserver plugin. 
<upsince_seconds>1448098380</upsince_seconds> Time of cserver plugin startup in number of seconds since 1/1/1970
<upsince_string>Sat Nov 21 10:33:00 2015&#xA;</upsince_string>Date/Time of cserver plugin startup.
<uptime_seconds>110772</uptime_seconds>Uptime in second of cserver plugin.
<uptime_string>1d, 6h, 46m, 12s</uptime_string>Uptime of csever plugin.
<reqs_last_minute>13</reqs_last_minute>Number of requests processed in the last minute.
<total_requests>12165;693;698;696;696;692;1391;0;0;0;0;0;0;0;0;0;0;0;82;692;692;696;1685;0;0</total_requests>Total of number processed requests and number of processed requests per hour during the last 24 hours.
<avg_reqs_per_sec>0.110</avg_reqs_per_sec>Average of number of processed requests per second.
<req_bad_request>0</req_bad_request>Number of bad request received.
<req_clone_db>0</req_clone_db>Number of 'cserver clone' command execution.
<req_collect_units>2463</req_collect_units>Number of 'req_collect_units' requests processed. These requests are received from an Engine during SS Collect job.
<req_delete_unit>15</req_delete_unit>Number of 'req_delete_units' requests processed. These requests are received from an Engine in order to delete a computer.
<req_dump_sdb>3</req_dump_sdb>Number of 'cserver dump' command execution.
<req_get_mgmt_info>2479</req_get_mgmt_info>Number of 'req_get_mgmt_info' requests processed. These requests are received from an Engine during SS Collect job in order to get
infomation about the cserver plugin.
<req_get_stats>24</req_get_stats>Number of 'cserver stats' command execution.
<req_get_unit>2231</req_get_unit>Number of 'req_get_unit' requests processed. These requests are received from the sdserver plugin in order to get information about an unit (computer, user).
<req_get_unit_list>4911</req_get_unit_list>Number of 'req_get_unit_list' requests processed. These requests are received from an Engine during execution of SS Collect job in order to get the list of units (computers or users).
<req_register_asset>28</req_register_asset>Number of 'req_register_asset' requests processed. These requests are received from Agents during execution of registration process (caf register).
<req_register_user>11</req_register_user>Number of 'req_register_user' requests processed. These requests are received from Agents during execution of registration process (caf register).
<req_reset_sdb>0</req_reset_sdb>Number of 'cserver reset' command execution.
<req_subscribe_update>0</req_subscribe_update>Number of 'req_subscribe_update' requests processed.
<req_unsubscribe_update>0</req_unsubscribe_update>Number of 'req_unsubscribe_update' requests processed.
<req_ping>0</req_ping>Number of 'req_ping' requests processed.
<req_xml_dump>0</req_xml_dump>Number of 'req_xml_dump' requests processed.
<req_compact_db>0</req_compact_db>Number of 'cserver compact' command execution.
<req_validate_db>0</req_validate_db>Number of 'cserver validate' command execution. 
<req_get_collect_unit_list>0</req_get_collect_unit_list>Number of 'req_get_collect_unit_list' requests processed.
<req_last>0</req_last>Number of 'req_last' requests processed.
</server_statistics>End of Statistics.
<serverdb_metrics>Start of Metrics.
<hwcount_master>275</hwcount_master>Number of computers registered in cserver database (file ServerDB\common\master\hwdb.master).
<uscount_master>8</uscount_master>Number of users registered in cserver database (file ServerDB\common\master\usdb.master).
<hwcount_collect>0</hwcount_collect>Number of computers to collect by in cserver plugin (file ServerDB\common\collect\hwdb.master).
<uscount_collect>0</uscount_collect>Number of users to collect by cserver plugin (file ServerDB\common\collect\usdb.master).
<masterdb_delta_count>46</masterdb_delta_count> Number of deltas in cserver master.
<collectdb_delta_count>0</collectdb_delta_count> Number of deltas in cserver collect database.
</serverdb_metrics>End of Metrics.
</res_get_stats></message>End of the message.