diff options
author | baude <bbaude@redhat.com> | 2018-02-28 10:02:54 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-28 16:46:29 +0000 |
commit | 7ffc89d71a65da32c74cf6ec3aeb99b0d547ebd1 (patch) | |
tree | 1593b5f562cab241a47d148e401f3c7c309883dd /libpod/container.go | |
parent | 2a59653bf3d5230a8be1a20ed9fcf53a185afba3 (diff) | |
download | podman-7ffc89d71a65da32c74cf6ec3aeb99b0d547ebd1.tar.gz podman-7ffc89d71a65da32c74cf6ec3aeb99b0d547ebd1.tar.bz2 podman-7ffc89d71a65da32c74cf6ec3aeb99b0d547ebd1.zip |
podman stats add networking
Add networking information to podman stats output. Also correct an issue filed
where memory constraints of the cgroup were not reflected in the stats output. And
finally, fix issue with PID count.
Resolves issue #364
Signed-off-by: baude <bbaude@redhat.com>
Closes: #417
Approved by: mheon
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go index 0e3b8b17f..42f13a992 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -632,7 +632,7 @@ func (c *Container) NamespacePath(ns LinuxNS) (string, error) { // CGroupPath returns a cgroups "path" for a given container. func (c *Container) CGroupPath() cgroups.Path { - return cgroups.StaticPath(filepath.Join(c.config.CgroupParent, fmt.Sprintf("libpod-conmon-%s", c.ID()))) + return cgroups.StaticPath(filepath.Join(c.config.CgroupParent, fmt.Sprintf("libpod-conmon-%s/%s", c.ID(), c.ID()))) } // RootFsSize returns the root FS size of the container |