summaryrefslogtreecommitdiff
path: root/docs/podman-top.1.md
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@suse.com>2018-08-30 13:05:37 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-30 16:51:56 +0000
commit1c0cd0796abd4230dbab1f7ed33212c78ecce11f (patch)
tree63d0740d08e4a6fea0f4178f4107bdfd923e146c /docs/podman-top.1.md
parent1243bfa6f14ed6cfb21e7db965e52bb7ddafd1f0 (diff)
downloadpodman-1c0cd0796abd4230dbab1f7ed33212c78ecce11f.tar.gz
podman-1c0cd0796abd4230dbab1f7ed33212c78ecce11f.tar.bz2
podman-1c0cd0796abd4230dbab1f7ed33212c78ecce11f.zip
docs: consistent format for example
All bash examples are now placed in a code section (```). The PS1 prompt is set to `$`. Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #1375 Approved by: rhatdan
Diffstat (limited to 'docs/podman-top.1.md')
-rw-r--r--docs/podman-top.1.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/podman-top.1.md b/docs/podman-top.1.md
index b89316859..7782a3f29 100644
--- a/docs/podman-top.1.md
+++ b/docs/podman-top.1.md
@@ -71,7 +71,7 @@ The following descriptors are supported in addition to the AIX format descriptor
By default, `podman-top` prints data similar to `ps -ef`:
```
-# podman top f5a62a71b07
+$ podman top f5a62a71b07
USER PID PPID %CPU ELAPSED TTY TIME COMMAND
root 1 0 0.000 20.386825206s pts/0 0s sh
root 7 1 0.000 16.386882887s pts/0 0s sleep
@@ -81,7 +81,7 @@ root 8 1 0.000 11.386886562s pts/0 0s vi
The output can be controlled by specifying format descriptors as arguments after the container:
```
-# sudo ./bin/podman top -l pid seccomp args %C
+$ sudo ./bin/podman top -l pid seccomp args %C
PID SECCOMP COMMAND %CPU
1 filter sh 0.000
8 filter vi /etc/ 0.000