Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
kill % fails?
- X-seq: zsh-users 27366
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: kill % fails?
- Date: Fri, 26 Nov 2021 19:20:54 +0100
- Archived-at: <https://zsh.org/users/27366>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Reply-to: dominik.vogt@xxxxxx
Why does this not kill all processes?
$ killall xeyes
$ pstree | grep xeyes
# no xeyes running
$ for i in $(seq 1000); do xeyes & sleep 0.01; kill %; done
zsh: job table full
[2] terminated xeyes
[3] terminated xeyes
...
[996] terminated xeyes
[997] - terminated xeyes
$ pstree | grep xeyes
| `-xeyes(28266) <----- not killed?
$ killall xeyes
$ pstree | grep xeyes
[998] + terminated xeyes
Okay, I understand that bit about the full job table, but why is
the last process not killed?
Note: The 0.01 second sleep is just long enough so that xeyes
tries to create a window on my system.
Warning: If not running fvwm as a window manager, you wm may well
go crazy, crash or become busy for a long time. Better save your
work first.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author