From f666989c9e953dc0cf2d139f30028b9bf16ff1f0 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Sun, 14 May 2023 06:06:17 +0100 Subject: [PATCH] Base: Add man page for pidof --- Base/usr/share/man/man1/pidof.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Base/usr/share/man/man1/pidof.md diff --git a/Base/usr/share/man/man1/pidof.md b/Base/usr/share/man/man1/pidof.md new file mode 100644 index 00000000000..72463e24fdb --- /dev/null +++ b/Base/usr/share/man/man1/pidof.md @@ -0,0 +1,19 @@ +## Name + +pidof - list pids for a given process name + +## Synopsis + +```sh +$ pidof [-s] [-o pid] [-S separator] +``` + +## Options + +* `-o pid`: Omit the given pid, or the parent process if the special value %PPID is passed +* `-s`: Only return one pid +* `-S separator`: Use `separator` to separate multiple pids + +## Arguments + +* `process-name`: Process name to search for