test/sun/tools/jstatd/jstatdDefaults.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/sun/tools/jstatd/jstatdDefaults.sh Mon Sep 19 00:43:35 2011
--- new/test/sun/tools/jstatd/jstatdDefaults.sh Mon Sep 19 00:43:30 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.
*** 43,68 ****
--- 43,68 ----
HOSTNAME=`uname -n`
JSTATD_OUT="jstatd_$$.out"
! ${JSTATD} -J-XX:+UsePerfData -J-Djava.security.policy=${TESTSRC}/all.policy 2>&1 > ${JSTATD_OUT} &
JSTATD_PID=$!
echo "jstatd started as pid ${JSTATD_PID}"
sleep 3
! ${JPS} -J-XX:+UsePerfData ${HOSTNAME} 2>&1 | 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} 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/jstatdDefaults.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File