4 ms·
How about something like while [1]; do kill -9 $((rnd * 100000)); sleep 5; end Probably needs some external tool for the rnd function. On a serious note,
by tgv 11mo ago
How about something like
while [1]; do kill -9 $((rnd * 100000)); sleep 5; end
Probably needs some external tool for the rnd function.
On a serious note, I just saw this: https://linuxupskillchallenge.org https://linuxupskillchallenge.org
- udev4096 11mo agoThat's hardly an "upskill" imo. You would know almost all of it by running a linux server for a month or two
- pona-a 11mo agoBash has a built-in RANDOM. while true; do kill -9 $RANDOM sleep 5 done Or to kill running running PIDs each time while true; do rnd=$(ps -e -o pid= | shuf -n 1) kill -9 $rnd sleep 5 done