Date: Mon, 14 May 2018 07:20:35 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r333602 - user/pho/stress2/misc Message-ID: <201805140720.w4E7KZ3V035671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Mon May 14 07:20:34 2018 New Revision: 333602 URL: https://svnweb.freebsd.org/changeset/base/333602 Log: Added cleanup after test. Style fix. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/pmc.sh Modified: user/pho/stress2/misc/pmc.sh ============================================================================== --- user/pho/stress2/misc/pmc.sh Mon May 14 06:11:25 2018 (r333601) +++ user/pho/stress2/misc/pmc.sh Mon May 14 07:20:34 2018 (r333602) @@ -34,15 +34,16 @@ . ../default.cfg -kldstat -v | grep -q hwpmc || kldload hwpmc +kldstat -v | grep -q hwpmc || { kldload hwpmc; loaded=1; } for i in `jot 2`; do - pmcstat -P instructions -O /tmp/sample.out.$i find /var -name not.there & + pmcstat -P instructions -O /tmp/sample.out.$i find -x /var -name \ + not.there & done export runRUNTIME=5m (cd ..; ./run.sh vfs.cfg) - -for i in `jot 2`; do - wait -done +wait +[ $loaded ] && kldunload hwpmc +rm /tmp/sample.out.* +exit 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805140720.w4E7KZ3V035671>