NSX-T Data Center REST API
CpuStats (type)
{ "additionalProperties": false, "description": "Provides the following CPU stats for a given core: - Core ID. - CPU type. - Number of packets sent and received per second on the core for the last 100ms. - Number of packets received per second from the crypto module, the KNI interface, the slowpath threads and the other cores within the last 100ms. - Statistics of the mega flow cache which holds flow cache key and the corresponding flow cache actions for all the entries. The counts are from the time the edge dataplane is UP and will be reset on edge reboot or edge dataplane restart. - Statistics of the micro flow cache which holds a hash of the entire flow cache key and a pointer to the mega flow cache entry. The counts are from the time the edge dataplane is UP and will be reset on edge reboot or edge dataplane restart. - Percentage of live CPU utilization of the core sampled within the last 60 seconds. - Percentage of CPU utilization of the core for actual packet processing for the last 100ms.", "id": "CpuStats", "properties": { "core": { "description": "CPU id", "readonly": true, "title": "core id", "type": "string" }, "cpu_type": { "default": "controlpath_core", "description": "cpu type, one of datapath_core, controlpath_core and service_core", "enum": [ "datapath_core", "controlpath_core", "service_core" ], "readonly": true, "title": "cpu type", "type": "string" }, "crypto": { "description": "The total number of packets per second (pps) received from the crypto module for the last 100ms.", "readonly": true, "title": "CPU crypto packet rate", "type": "string" }, "intercore": { "description": "The total number of packets per second (pps) received from other cores for the last 100ms.", "readonly": true, "title": "CPU intercore packet rate", "type": "string" }, "kni": { "description": "The total number of packets per second (pps) received from Linux KNI interface for the last 100ms.", "readonly": true, "title": "CPU Kernel Network Interface (KNI) packet rate", "type": "string" }, "mega_flowcachestats": { "$ref": "FlowCacheStatistics, "description": "Provides statistics of the mega flow cache which holds the flow cache key and the corresponding flow cache actions for all the entries. The flow cache key is the five tuples of an IP connection - src/dst IP, protocol, and src/dst ports. This will be reset on edge reboot or edge dataplane restart.", "readonly": true, "title": "Mega flow cache stats", "type": "object" }, "micro_flowcachestats": { "$ref": "FlowCacheStatistics, "description": "Provides statistics of the micro flow cache which holds a hash of the entire flow cache key and a pointer to the mega flow cache entry, where the flow cache key and actions are stored. This will be reset on edge reboot or edge dataplane restart.", "readonly": true, "title": "Micro flow cache stats", "type": "object" }, "packet_processing_usage": { "description": "Provides the percentage of CPU utilization of the core on actual packet processing for the last 100ms. It is percentage of busy cycles vs. total cycles, where busy cycles are the cycles spent in a poll round where at least one packet was received.", "readonly": true, "title": "Datapath CPU packet processing usage", "type": "string" }, "rx": { "description": "The total number of packets per second (pps) received from NICs for the last 100ms.", "readonly": true, "title": "CPU Rx packet rate", "type": "string" }, "slowpath": { "description": "The total number of packets per second (pps) received from slowpath threads for the last 100ms.", "readonly": true, "title": "CPU slowpath packet rate", "type": "string" }, "tx": { "description": "The total number of packets per second (pps) transmitted from NICs for the last 100ms. This also includes the packets dropped due to Tx ring full.", "readonly": true, "title": "CPU Tx packet rate", "type": "string" }, "usage": { "description": "Provides the percentage of live CPU utilisation of the core sampled within the last 60 seconds.", "readonly": true, "title": "CPU usage", "type": "string" } }, "title": "CPU core statistics", "type": "object" }