Cross Reference: jps-vm_Output1.awk
xref
: /
openjdk7
/
jdk
/
test
/
sun
/
tools
/
jps
/
jps-vm_Output1.awk
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
jps-vm_Output1.awk revision 0
325
N/A
#
325
N/A
BEGIN
{
325
N/A
totallines
=
0
;
matched
=
0
325
N/A
}
325
N/A
325
N/A
/^[
0
-
9
]+
Jps
-
vm
.* -
XX
:\+
UseParallelGC
$/
{
325
N/A
matched
++;
325
N/A
}
325
N/A
325
N/A
{
totallines
++;
print
$
0
}
325
N/A
325
N/A
END
{
325
N/A
if
(
(
totallines
>
0
)
&&
(
matched
>=
1
)
)
{
325
N/A
exit
0
325
N/A
}
325
N/A
else
{
325
N/A
exit
1
325
N/A
}
325
N/A
}
325
N/A