Skip to content

Latest commit

 

History

History
90 lines (74 loc) · 1.59 KB

reference_element_api_getnodestats.adoc

File metadata and controls

90 lines (74 loc) · 1.59 KB
permalink sidebar keywords summary
api/reference_element_api_getnodestats.html
sidebar
node,get,getting,stats,getnodestats
You can use the GetNodeStats method to retrieve the high-level activity measurements for a single node.

GetNodeStats

You can use the GetNodeStats method to retrieve the high-level activity measurements for a single node.

Parameter

This method has the following input parameter:

Name Description Type Default value Required

nodeID

Specifies the ID of the node for which statistics will be returned.

integer

None

Yes

Return value

This method has the following return value:

Name Description Type

nodeStats

Node activity information.

Request example

Requests for this method are similar to the following example:

{
   "method": "GetNodeStats",
   "params": {
     "nodeID": 5
   },
   "id": 1
}

Response example

This method returns a response similar to the following example:

{
   "id" : 1,
   "result" : {
     "nodeStats" : {
       "cBytesIn" : 9725856460404,
       "cBytesOut" : 16730049266858,
       "cpu" : 98,
       "mBytesIn" : 50808519,
       "mBytesOut" : 52040158,
       "networkUtilizationCluster" : 84,
       "networkUtilizationStorage" : 0,
       "sBytesIn" : 9725856460404,
       "sBytesOut" : 16730049266858,
       "timestamp" : "2012-05-16T19:14:37.167521Z",
       "usedMemory" : 41195708000
     }
   }
}

New since version

9.6