pgrep
Topic: Processes
Program: pgrep
Finds processes by name and shows their PIDs.
Package: prozesse
Usage
pgrep [options] <pattern>
Description
List the PIDs of the processes whose name fits the pattern (an extended regular expression).
Options in the simulator
-
-h, --help show this help and exitThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
28 more options of the real program, not in the simulator yet
-
-d, --delimiterneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-l, --list-namenot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-a, --list-fullnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-v, --inversenot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-w, --lightweightnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-c, --countnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-f, --fullnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-g, --pgroupneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-G, --groupneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-i, --ignore-casenot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-n, --newestnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-o, --oldestnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-O, --olderneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-P, --parentneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-s, --sessionneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
--signalneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-t, --terminalneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-u, --euidneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-U, --uidneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-x, --exactnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-F, --pidfileneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-L, --logpidfilenot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-r, --runstatesneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-A, --ignore-ancestorsnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
--cgroupneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
--nsneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
--nslistneeds a value not in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
-
-V, --versionnot in the simulator yetThe option exists on a real system; for pgrep and pkill the simulator knows -l, -a (pgrep only), -u, -f, -x, -n, -o, -c and the signal.
Where you learn it
No lesson yet.