Here it is
#!/bin/bash
# (c) 2013 ServeTheHome.com and ServeThe.biz
# Verify if the script is executed with Root Privileges #
ROOT=`/usr/bin/id -u`
if [[ $ROOT -ne "0" ]]; then
echo "Please execute the script with root privileges"
exit 1
fi
#############Set Functions################...
Here is a diff containing changes which includes removing what gets installed as well as some fixes for minor bugs.
--- STHbench-Dev006.sh 2013-12-24 14:23:29.982863453 +0100
+++ STHbench-Dev006.sh.new 2013-12-25 13:25:55.917188997 +0100
@@ -11,13 +11,19 @@
#############Set...
Is this the crafty the scripts wants to install: crafty - state-of-the-art chess engine, compatible with xboard ?
If so what is the purpose of installing this?
Since Dev06 is running as user root through sudo the software will get installed on the host and stay there. Running a benchmark should not leave executable files unknown to the user running the script.
I will take a look. Shouldn't be to difficult to make uninstall - use ./configure...
Since some of the software is installed outside the package repository using make install would it not be an idea to remove that software before the script terminates?
You are right about build-essential. What is wrong, however, is that the apt-get has a reference to phoronix-test-suite which is not available on the debian repositories in which case the entire apt-get install after phoronix-test-suite is not applied. To fix this you should add this instead to...
Could it be that the entire paragraph in fact should be:
for clients in 1 5 10 20 30 40 50 60 70 80 90 100
do
SPEED=0
for dummy in 0 1 2
do
S=$($BIN -n $iterations -r $keyspace -d $payload -c $clients | grep 'per second' | tail -1 | awk '{print $1}')
VALUE=$(echo $S | awk...
The installation line (11) needs to have gcc, make and expect added for Debian.
Also line 149: S=$($BIN -n $iterations -r $keyspace -d $payload -c $clients | grep 'per second' | tail -1$)
Resolves in: tail: option used in invalid context -- 1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.