summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorTim Ledbetter <timledbetter@gmail.com>2023-05-13 12:08:56 +0100
committerAndreas Kling <kling@serenityos.org>2023-05-13 17:05:05 +0200
commitdab991284fc723421f945cfd36f9dbc618785ee9 (patch)
tree2cd0d796408c25530756af944482408c484024d8 /Base
parent56301688e41de416f77f2a787a920e55925e9349 (diff)
downloadserenity-dab991284fc723421f945cfd36f9dbc618785ee9.zip
Base: Add man page for top
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/top.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/top.md b/Base/usr/share/man/man1/top.md
new file mode 100644
index 0000000000..f5076d0ad5
--- /dev/null
+++ b/Base/usr/share/man/man1/top.md
@@ -0,0 +1,15 @@
+## Name
+
+top - display information about processes
+
+## Synopsis
+
+```sh
+$ top [--delay-time secs] [--pids pid-list] [--sort-by field]
+```
+
+## Options
+
+* `-d`, `--delay-time`: Delay time interval in seconds
+* `-p`, `--pids`: A comma-separated list of pids to filter by. This option may be used multiple times.
+* `-s`, `--sort-by`: Sort by field [pid, tid, pri, user, state, virt, phys, cpu, name]