Load.sh

From Federal Burro of Information
Revision as of 05:46, 6 April 2021 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
#!/bin/sh
while true
do
number=$RANDOM let "number %= 3"
echo $number
sleep ${number}
wget --quiet -O /dev/null http://localhost/server-status
done