mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 19:51:04 +01: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 New Issue
Block a user