diff options
author | Aaron Ball <nullspoon@oper.io> | 2022-10-13 18:43:00 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2022-10-13 18:43:00 -0600 |
commit | a87301a1761046b073fdf0355ebc36df57fc7bdd (patch) | |
tree | 246e98c35ac2482a63265595e326deb7c8bbbdad | |
parent | 7a9e46793e4beef43654cee443d54a1a4299b77b (diff) | |
download | psre-a87301a1761046b073fdf0355ebc36df57fc7bdd.tar.gz psre-a87301a1761046b073fdf0355ebc36df57fc7bdd.tar.xz |
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -16,3 +16,17 @@ character for easier splitting. null-byte delimit the arguments of a command, leaving it only partially printable. `psre` replaces those null bytes with the ascii space char (`0x20` or `32 dec`) so the full cmdline is printable. + + +## Example Usage: Bulk killing stuck processes + +Sometimes webkit spins up many sub processes which get stuck and only a `kill +-9` will shut them down. This can be very cumbersome to fix by hand as there +can be many stuck PIDs. To do this easily with `psre`, run the following: + +``` +kill -9 $(psre webkit --noself) +``` + +**Note** the `--noself` switch which causes `psre` to filter its own PID from +the list so it is not also killed or an error thrown when this command runs. |