diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-05-14 13:44:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-16 12:54:18 +0200 |
commit | a6e701a67bf9d21ede5ccecbce3b3c9fef6ce8c4 (patch) | |
tree | 580bfa9d54506b1d60f37ac18b87ad49c3b3f716 /Base/usr | |
parent | afb55d9fd8af4566433c907c3069a65f660d6d48 (diff) | |
download | serenity-a6e701a67bf9d21ede5ccecbce3b3c9fef6ce8c4.zip |
ps: Add the `-a` option, to list all processes associated with terminals
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man1/ps.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Base/usr/share/man/man1/ps.md b/Base/usr/share/man/man1/ps.md index 0765c8da9b..36b543bf11 100644 --- a/Base/usr/share/man/man1/ps.md +++ b/Base/usr/share/man/man1/ps.md @@ -5,7 +5,7 @@ ps - list currently running processes ## Synopsis ```**sh -$ ps [--version] [-A] [-e] [-f] [-q pid-list] +$ ps [--version] [-a] [-A] [-e] [-f] [-q pid-list] ``` ## Description @@ -15,6 +15,7 @@ For each process, print its PID (process ID), to which TTY it belongs, and invok ## Options +* `-a`: Consider all processes that are associated with a TTY. * `-A` or `-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. |