jdk/test/sun/tools/jps/jps-Vvm_Output1.awk
author lana
Tue, 20 Aug 2013 17:46:21 -0700
changeset 19513 f90fd926e074
parent 2 90ce3da70b43
permissions -rw-r--r--
Merge

#
BEGIN	{
	    totallines=0; matched=0
	}

/^[0-9]+ Jps -Vvm.*-XX:Flags=.*vmflags.* \+DisableExplicitGC$/	{
	    matched++;
	}

	{ totallines++; print $0 }

END	{
	    if ((totallines > 0) && (matched >= 1)) {
	        exit 0
	    }
	    else {
	        exit 1
	    }
	}