blob: 560f6e8f68b288c00d62ddcb7c89531f9ebb7316 [file] [log] [blame]
#
BEGIN {
totallines=0; matched=0
}
/^[0-9]+ Jps -m$/ {
matched++;
}
{ totallines++; print $0 }
END {
if ((totallines > 0) && (matched >= 1)) {
exit 0
}
else {
exit 1
}
}