#!/bin/bash
#Usage: ./nbench [-v] [-c<FILE>]
# -v = verbose
# -c = input parameters thru command file <FILE>

. /etc/autobench.conf || . functions

touch $LOGDIR/benchmark/nbench.$RUN_NUMBER
start_profile
start_sar

$AUTODIR/sources/nbench/nbench -v | tee $LOGDIR/benchmark/nbench.$RUN_NUMBER

stop_sar
stop_profile
