mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
7b89ee666b
The files from the ceph-test subpackage are installed to /usr/bin, give them more useful names to make sure that the user know they belong to ceph. add a 'ceph_' prefix and change some test* binaries to ceph_test_*. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
19 lines
304 B
Bash
Executable File
19 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
NUM="$1"
|
|
GAP="$2"
|
|
DUR="$3"
|
|
|
|
[ -z "$NUM" ] && NUM=30
|
|
[ -z "$GAP" ] && GAP=5
|
|
[ -z "$DUR" ] && DUR=30
|
|
|
|
for n in `seq 1 $NUM`; do
|
|
echo "Starting $n of $NUM ..."
|
|
ceph_smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 &
|
|
sleep $GAP
|
|
done
|
|
echo "Waiting..."
|
|
wait
|
|
echo "OK"
|