ceph/qa/workunits/40_bonnie.sh

10 lines
176 B
Bash
Executable File

#!/bin/bash
bonnie_bin=`which bonnie++`
[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++
uid_flags=""
[ "`id -u`" == "0" ] && uid_flags="-u root"
$bonnie_bin $uid_flags -n 100