test/sun/tools/jstatd/jstatdPort.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/sun/tools/jstatd/jstatdPort.sh	Mon Sep 19 00:44:12 2011
--- new/test/sun/tools/jstatd/jstatdPort.sh	Mon Sep 19 00:44:10 2011

*** 1,7 **** --- 1,7 ---- # ! # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. ! # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 48,73 **** --- 48,73 ---- exit 1 fi JSTATD_OUT="jstatd_$$.out" ! ${JSTATD} -J-XX:+UsePerfData -J-Djava.security.policy=${TESTSRC}/all.policy -p ${PORT} 2>&1 > ${JSTATD_OUT} & JSTATD_PID=$! echo "jstatd started as pid ${JSTATD_PID} on port ${PORT}" sleep 3 ! ${JPS} -J-XX:+UsePerfData ${HOSTNAME}:${PORT} 2>&1 | tee jps.out | awk -f ${TESTSRC}/jpsOutput1.awk if [ $? -ne 0 ] then echo "Output of jps differs from expected output. Failed." cleanup exit 1 fi ! ${JSTAT} -J-XX:+UsePerfData -gcutil ${JSTATD_PID}@${HOSTNAME}:${PORT} 250 5 2>&1 | awk -f ${TESTSRC}/jstatGcutilOutput1.awk RC=$? if [ ${RC} -ne 0 ] then echo "jstat output differs from expected output"

test/sun/tools/jstatd/jstatdPort.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File