stress2: No need to write to the console. Add revision to log string

This commit is contained in:
Peter Holm 2023-08-19 09:29:09 +02:00
parent f322816aaf
commit 0d30f3afa6

View File

@ -237,9 +237,8 @@ while true; do
[ -f ../tools/ministat.sh ] &&
../tools/ministat.sh $allelapsed $i
[ $((`date '+%s'` - start)) -gt 1980 ] &&
printf "$ts *** Excessive run time: %s %d min\r\n" $i, \
$(((`date '+%s'` - start) / 60)) |
tee $console >> $allexcess
printf "$ts $rev $i %d min\n" \
$(((`date '+%s'` - start) / 60)) >> $allexcess
while pgrep -q "^swap$"; do
echo "swap still running"
sleep 2