jdk/test/sun/tools/jps/jps-Vm_Output2.awk
author weijun
Fri, 20 Jun 2008 12:05:02 +0800
changeset 793 8183c2b0985f
parent 2 90ce3da70b43
permissions -rw-r--r--
6716534: Krb5LoginModule has not cleaned temp info between authentication attempts Reviewed-by: valeriep

#
BEGIN	{
	    totallines=0; matched=0
	}

/^[0-9]+ Jps -Vm.* \+DisableExplicitGC$/	{
	    matched++;
	}

	{ totallines++; print $0 }

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