Browse Source

Base: Add man page for pidof

Tim Ledbetter 2 years ago
parent
commit
f666989c9e
1 changed files with 19 additions and 0 deletions
  1. 19 0
      Base/usr/share/man/man1/pidof.md

+ 19 - 0
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] <process-name>
+```
+
+## 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