Get instance resource utilization stats
Returns real-time resource utilization statistics for a running VM instance. Metrics are collected from /proc/<pid>/stat and /proc/<pid>/statm for CPU and memory, and from TAP interface statistics for network I/O.
get/instances/{id}/stats
Path parameters
idstring required
Instance ID or name
Response
Instance utilization statistics
Example response
{
"instance_id": "qilviffnqzck2jrim1x6s2b1",
"instance_name": "my-web-server",
"cpu_seconds": 29.94,
"memory_rss_bytes": 443338752,
"memory_vms_bytes": 4330745856,
"network_rx_bytes": 12345678,
"network_tx_bytes": 87654321,
"allocated_vcpus": 2,
"allocated_memory_bytes": 4294967296,
"memory_utilization_ratio": 0.103
}