mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

Use github.com/containers/psgo instead of execing `ps (1)`. The psgo library enables a much more flexible interface with respect to which data to be printed (e.g., capabilities, seccomp mode, PID, PCPU, etc.) while the output can be parsed reliably. The library does not use ps (1) but parses /proc and /dev instead. To list the processes of a given container, psgo will join the mount namespace of the given container and extract all data from there. Notice that this commit breaks compatibility with docker-top. Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #1113 Approved by: rhatdan
8 lines
220 B
Plaintext
8 lines
220 B
Plaintext
github.com/davecgh/go-spew master
|
|
github.com/pkg/errors master
|
|
github.com/pmezard/go-difflib master
|
|
github.com/sirupsen/logrus master
|
|
github.com/stretchr/testify master
|
|
golang.org/x/crypto master
|
|
golang.org/x/sys master
|