Manual / ps
ps(1)
| PS(1) | General Commands Manual | PS(1) |
NAME
ps - process status
SYNOPSIS
ps
DESCRIPTION
Ps prints certain indicia about active processes. The listing is columnar and contains:
- PID
- The process ID; use this number with kill(1).
- S
- State: R running or runnable, S blocked, Z exited but not yet reaped, T stopped.
- BANK
- The physical auxiliary-memory bank occupied by the process, in hexadecimal.
- PPID
- The parent process ID. A process whose parent has exited is adopted by init, so its PPID is 1.
- COMMAND
- The process's arguments, joined by single spaces and cut to the width of the console (one column is left free; output that is not a console is cut at 63 characters). Three markers stand in for arguments:
- <defunct>
- the process has exited and not yet been reaped (a zombie);
- (name)
- the program reused the low memory its arguments were staged in, so what is there no longer reads as an argument list; ps shows the program's name in parentheses, as BSD does, taken from the kernel's record of what was spawned into that process's bank, or ? if the kernel has none;
- [name]
- the process was made by the kernel, not spawned, so it never had arguments: [init] for process 1 and [idle] for the others whose parent is 0.
Every occupied process slot is shown; unused slots are omitted.
FILES
/usr/man/PS this page
SEE ALSO
DIAGNOSTICS
Exit status is 0.
BUGS
There are no selection options, CPU times or Unix ownership fields. Only the first 64 bytes of the argument strings are read, so a long command line is cut there even on a wide console.
| September 19, 2026 | maux |