Skip to content

Instantly share code, notes, and snippets.

@jimmidyson
Created November 14, 2014 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmidyson/652018635e997ddc1ddb to your computer and use it in GitHub Desktop.
Save jimmidyson/652018635e997ddc1ddb to your computer and use it in GitHub Desktop.
cAdvisor output
[
{
"name": "/system.slice/docker-ad0396d93d375a7410cbedd3a0e2486581167a4d1b50f77ef208173b0e4be2f8.scope",
"aliases": [
"/docker/k8s_net.1883d0cf_influxdb.default.etcd_1415975201_02ee0729"
],
"spec": {
"has_cpu": true,
"cpu": {
"limit": 1024,
"max_limit": 0,
"mask": "0-7"
},
"has_memory": true,
"memory": {
"limit": 18446744073709552000,
"swap_limit": 18446744073709552000
},
"has_network": true,
"has_filesystem": false
},
"stats": [
{
"timestamp": "2014-11-14T14:32:35.366637877Z",
"cpu": {
"usage": {
"total": 6158119,
"per_cpu_usage": [
2297169,
191846,
1041294,
0,
95713,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 8631,
"rx_packets": 97,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:36.366554998Z",
"cpu": {
"usage": {
"total": 6158119,
"per_cpu_usage": [
2297169,
191846,
1041294,
0,
95713,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 8971,
"rx_packets": 101,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:37.366669612Z",
"cpu": {
"usage": {
"total": 6158119,
"per_cpu_usage": [
2297169,
191846,
1041294,
0,
95713,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 8971,
"rx_packets": 101,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:39.366629821Z",
"cpu": {
"usage": {
"total": 6158119,
"per_cpu_usage": [
2297169,
191846,
1041294,
0,
95713,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 8971,
"rx_packets": 101,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:43.36656427Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9083,
"rx_packets": 103,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:44.366633667Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9153,
"rx_packets": 104,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:45.367155501Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9215,
"rx_packets": 105,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:46.366759751Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9215,
"rx_packets": 105,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:48.366612472Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9215,
"rx_packets": 105,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:32:52.366654526Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9215,
"rx_packets": 105,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:33:00.36660079Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9277,
"rx_packets": 106,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:33:01.366599832Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9277,
"rx_packets": 106,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:33:03.366798359Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9277,
"rx_packets": 106,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
},
{
"timestamp": "2014-11-14T14:33:07.366574491Z",
"cpu": {
"usage": {
"total": 6294775,
"per_cpu_usage": [
2338067,
191846,
1128946,
0,
103819,
306619,
592499,
1632979
],
"user": 0,
"system": 0
},
"load": 0
},
"diskio": {
"io_service_bytes": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 253952,
"Read": 253952,
"Sync": 0,
"Total": 253952,
"Write": 0
}
}
],
"io_serviced": [
{
"major": 253,
"minor": 22,
"stats": {
"Async": 10,
"Read": 10,
"Sync": 0,
"Total": 10,
"Write": 0
}
}
]
},
"memory": {
"usage": 565248,
"working_set": 532480,
"container_data": {
"pgfault": 159,
"pgmajfault": 3
},
"hierarchical_data": {
"pgfault": 159,
"pgmajfault": 3
}
},
"network": {
"rx_bytes": 9339,
"rx_packets": 107,
"rx_errors": 0,
"rx_dropped": 1,
"tx_bytes": 1911,
"tx_packets": 21,
"tx_errors": 0,
"tx_dropped": 0
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment