summaryrefslogtreecommitdiff
path: root/libpod/stats_config.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/stats_config.go')
-rw-r--r--libpod/stats_config.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/libpod/stats_config.go b/libpod/stats_config.go
new file mode 100644
index 000000000..9c7d97298
--- /dev/null
+++ b/libpod/stats_config.go
@@ -0,0 +1,18 @@
+package libpod
+
+// ContainerStats contains the statistics information for a running container
+type ContainerStats struct {
+ ContainerID string
+ Name string
+ CPU float64
+ CPUNano uint64
+ SystemNano uint64
+ MemUsage uint64
+ MemLimit uint64
+ MemPerc float64
+ NetInput uint64
+ NetOutput uint64
+ BlockInput uint64
+ BlockOutput uint64
+ PIDs uint64
+}