mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
stress2: No need to write to the console. Add revision to log string
This commit is contained in:
parent
f322816aaf
commit
0d30f3afa6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue