diff options
author | haircommander <pehunt@redhat.com> | 2018-08-16 18:26:24 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-23 15:01:17 +0000 |
commit | 88df4ea0f97f2892a6fd588bd3abfad1db634629 (patch) | |
tree | 9ecea1234ccf25488095c9b2150ad625c21a3716 /libpod/pod_top_unsupported.go | |
parent | 6c253d00554d5f5c17cc7bbb76e9658f277ab129 (diff) | |
download | podman-88df4ea0f97f2892a6fd588bd3abfad1db634629.tar.gz podman-88df4ea0f97f2892a6fd588bd3abfad1db634629.tar.bz2 podman-88df4ea0f97f2892a6fd588bd3abfad1db634629.zip |
Add podman pod top
Using the vendored changes from psgo, incorporate JoinNamespaceAndProcessInfoByPids to get process information for each pid namespace of running containers in the pod. Also added a man page, and tests.
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1298
Approved by: mheon
Diffstat (limited to 'libpod/pod_top_unsupported.go')
-rw-r--r-- | libpod/pod_top_unsupported.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpod/pod_top_unsupported.go b/libpod/pod_top_unsupported.go new file mode 100644 index 000000000..d44470523 --- /dev/null +++ b/libpod/pod_top_unsupported.go @@ -0,0 +1,8 @@ +// +build !linux + +package libpod + +// GetPodPidInformation is exclusive to linux +func (p *Pod) GetPodPidInformation(descriptors []string) ([]string, error) { + return nil, ErrNotImplemented +} |