From 88df4ea0f97f2892a6fd588bd3abfad1db634629 Mon Sep 17 00:00:00 2001 From: haircommander Date: Thu, 16 Aug 2018 18:26:24 -0400 Subject: 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 Closes: #1298 Approved by: mheon --- libpod/pod_top_unsupported.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libpod/pod_top_unsupported.go (limited to 'libpod/pod_top_unsupported.go') 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 +} -- cgit v1.2.3-54-g00ecf