Files
podman/libpod/container_top_unsupported.go
Doug Rabson 9e6b37ec1d libpod: Add support for 'podman top' on FreeBSD
This simply runs ps(1) on the host and filters for processes inside the
container.

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-10-17 16:43:53 +01:00

15 lines
329 B
Go

//go:build !linux && !freebsd
// +build !linux,!freebsd
package libpod
import (
"errors"
)
// Top gathers statistics about the running processes in a container. It returns a
// []string for output
func (c *Container) Top(descriptors []string) ([]string, error) {
return nil, errors.New("not implemented (*Container) Top")
}