diff options
Diffstat (limited to 'README.md')
-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. |