15 lines
385 B
Bash
Executable File
15 lines
385 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# from ansible/resources
|
|
|
|
mkdir -p /tank/stressberry/${HOSTNAME}
|
|
cd /tank/stressberry/${HOSTNAME}
|
|
|
|
SRUN=$(which stressberry-run)
|
|
SPLOT=$(which stressberry-plot)
|
|
|
|
echo "Aufruf ${SRUN}"
|
|
${SRUN} -n "${HOSTNAME}" -d 1800 -i 300 -c 4 ${HOSTNAME}.out
|
|
echo "Aufruf ${SPLOT}"
|
|
${SPLOT} ${HOSTNAME}.out -f -d 300 -f -l 400 3100 -t 25 90 -o ${HOSTNAME}.png --not-transparent
|
|
|