tgv 3 days 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

  • pona-a 3 hours ago

    Bash 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
  • udev4096 3 days ago

    That's hardly an "upskill" imo. You would know almost all of it by running a linux server for a month or two