diff options
Diffstat (limited to 'Base')
-rw-r--r-- | Base/usr/share/man/man1/ps.md | 26 | ||||
-rw-r--r-- | Base/usr/share/man/man1/tar.md | 2 |
2 files changed, 26 insertions, 2 deletions
diff --git a/Base/usr/share/man/man1/ps.md b/Base/usr/share/man/man1/ps.md new file mode 100644 index 0000000000..57c9fdbc9f --- /dev/null +++ b/Base/usr/share/man/man1/ps.md @@ -0,0 +1,26 @@ +## Name + +ps - list currently running processes + +## Synopsis + +```**sh +$ ps [--version] [-e] [-f] [-q pid-list] +``` + +## Description + +Print a list of currently running processes in the current TTY. +For each process, print its PID (process ID), to which TTY it belongs, and invoking commandline (CMD). + +## Options + +* `-e`: Consider all processes, not just those in the current TTY. +* `-f`: Also print for each process: UID (as resolved username), PPID (parent PID), and STATE (Runnable, Sleeping, Selecting, Reading, etc.) +* `-q pid-list`: Only consider the given PIDs, if they exist. + +## Examples + +```sh +$ ps -ef +``` diff --git a/Base/usr/share/man/man1/tar.md b/Base/usr/share/man/man1/tar.md index 036d2c712e..47683a3ea3 100644 --- a/Base/usr/share/man/man1/tar.md +++ b/Base/usr/share/man/man1/tar.md @@ -39,6 +39,4 @@ $ tar -x -f archive.tar ## See also -* [`gunzip`(1)](gunzip.md) * [`unzip`(1)](unzip.md) - |