Report process status
ps -A {flag-a} -a {flag-a} -d {flag-d} -N {deselect} -C {flag-c} ๐ flag-a ๐ flag-d ๐ deselect ๐ flag-c ps -A {flag-a} -a {flag-a} -d {flag-d} -N {deselect} -C {flag-c} Sandbox: execFile · Timeout: 30s
system.process.ps system.process.list system.process.signal system.process.monitor | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
flag-A | string | No | - | all processes | -A, -e |
flag-a | string | No | - | all with tty, except session leaders | -a |
flag-d | string | No | - | all except session leaders | -d |
deselect | string | No | - | negate selection | -N, --deselect |
flag-C | string | No | - | command name | -C |
Group | string | No | - | real group id or name | -G, --Group <GID> |
group | string | No | - | Set the group parameter | -g, --group <group> |
pid | string | No | - | process id | -p, --pid <PID> |
ppid | string | No | - | Set the ppid parameter | --ppid <PID> |
quick-pid | string | No | - | process id (quick mode) | -q, --quick-pid <PID> |
sid | string | No | - | Set the sid parameter | -s, --sid <session> |
tty | string | No | - | terminal | -t, --tty <tty> |
user | string | No | - | Set the user parameter | -u, --user <UID> |
User | string | No | - | real user id or name | -U, --User <UID> |
flag-D | string | No | - | date format for lstart | -D |
flag-f | string | No | - | full-format, including command lines | -f |
flag-j | string | No | - | jobs format | -j |
flag-l | string | No | - | long format | -l |
flag-M | string | No | - | add security data (for SELinux) | -M |
flag-O | string | No | - | preloaded with default columns | -O |
format | string | No | - | user-defined format | -o, --format <format> |
flag-y | string | No | - | do not show flags, show rss vs. addr (used with -l) | -y |
context | string | No | - | display security context (for SELinux) | --context |
headers | string | No | - | repeat header lines, one per page | --headers |
no-headers | string | No | - | do not print header at all | --no-headers |
cols | integer | No | - | set screen width --rows, --lines <num> set screen height --signames display signal masks using signal names | --cols, --columns, --width <num> |
flag-m | string | No | - | after processes | -m |
flag-c | string | No | - | show scheduling class with -l option | -c |
flag-y-2 | string | No | - | do not show flags, show rss (only with -l) | -y |
version | string | No | - | display version information and exit | -V, --version |
H | boolean | No | - | show process hierarchy | -H |
flag-w | string | No | - | unlimited output width | -w |
help | string | No | - | display help and exit | --help <simple|list|output|threads|misc|all> |
rows | boolean | No | - | --rows, --lines | |
signames | boolean | No | - | display signal masks using signal names | --signames |
Basic usage with flag-A
ps ${flag-A} Display help message
ps --help ps is a command-line utility for report process status.
ps -A {flag-a} -a {flag-a} -d {flag-d} -N {deselect} -C {flag-c}