summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-23 12:53:31 +0100
committerGitHub <noreply@github.com>2020-11-23 12:53:31 +0100
commitac55bd1f673156cbb60b568b65f7bf4918daf152 (patch)
tree1a592f4ead55236eb44733b47c92877cb4828427 /cmd/podman
parent79ab19ab8bbc069c06e47e45dd51e34a35d6a35f (diff)
parent5d9647a12094c953436b1f9af44f88e53db4af16 (diff)
downloadpodman-ac55bd1f673156cbb60b568b65f7bf4918daf152.tar.gz
podman-ac55bd1f673156cbb60b568b65f7bf4918daf152.tar.bz2
podman-ac55bd1f673156cbb60b568b65f7bf4918daf152.zip
Merge pull request #8449 from vrothberg/top-docs
[CI:DOCS] clarify ps(1) fallback of `podman top`
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/containers/top.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/cmd/podman/containers/top.go b/cmd/podman/containers/top.go
index 3eb6d2af2..f00b1dce1 100644
--- a/cmd/podman/containers/top.go
+++ b/cmd/podman/containers/top.go
@@ -18,12 +18,10 @@ import (
)
var (
- topDescription = `Similar to system "top" command.
-
- Specify format descriptors to alter the output.
-
- Running "podman top -l pid pcpu seccomp" will print the process ID, the CPU percentage and the seccomp mode of each process of the latest container.`
+ topDescription = `Display the running processes of a container.
+ The top command extends the ps(1) compatible AIX descriptors with container-specific ones as shown below. In the presence of ps(1) specific flags (e.g, -eo), Podman will execute ps(1) inside the container.
+`
topOptions = entities.TopOptions{}
topCommand = &cobra.Command{