nsbin/eth/system-test.sh
Nico Schottelius f5a8cd1259 add files that are living in ~/bin for a while
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-12-28 20:14:14 +01:00

42 lines
526 B
Bash

#!/bin/sh
# 1. collect information about the system:
# - cpu
# - memory
# - lshw
# - dmesg
# -
# 2. test memory
# 2. test harddrive
# - raid?
# - performance
# test reboots
#
#
cores="$1"; shift
scratch="$1"; shift
mem="$1"; shift
# 7d
cpuburn
# 7d
stress -i "$cores"
# 64 samples
wget http://www.coker.com.au/bonnie++/bonnie++-1.03d.tgz
tar xfvz bonnie++-1.03d.tgz
cd bonnie++-1.03d
./configure && make
cd $scratch
bonnie++ -d . -s 36g -n 256 -n 64 -u 0 | tee /root/bonnie-mnt
#
iozone -A
# 24h
reboot
# netperf