mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00

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>
15 lines
329 B
Go
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")
|
|
}
|