Searched refs:jcmd (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/test/sun/tools/jcmd/
H A Djcmd-help.sh26 # @run shell jcmd-help.sh
27 # @summary Test that output of 'jcmd -h' matches the usage.out file
29 JCMD="${TESTJAVA}/bin/jcmd"
31 rm -f jcmd.out 2>/dev/null
32 ${JCMD} -J-XX:+UsePerfData -h > jcmd.out 2>&1
34 diff -w jcmd.out ${TESTSRC}/usage.out
37 echo "Output of jcmd -h differ from expected output. Failed."
38 rm -f jcmd.out 2>/dev/null
42 rm -f jcmd.out 2>/dev/null
43 ${JCMD} -J-XX:+UsePerfData -help > jcmd
[all...]
H A Djcmd-f.sh29 # @summary Unit test for jcmd utility
33 # @run shell jcmd-f.sh
48 rm -f jcmd.out 2>/dev/null
49 ${JCMD} -J-XX:+UsePerfData $appJavaPid -f ${TESTSRC}/dcmd-script.txt | awk '{ if (NR>1) print $0;}' > jcmd.out 2>&1
50 echo jcmd.out
51 diff -w jcmd.out ${TESTSRC}/help_help.out
53 echo "Output of jcmd [pid] -f dcmd-script.txt differ from expected output. Failed."
54 rm -f jcmd.out 2>/dev/null
H A Djcmd-help-help.sh29 # @summary Unit test for jcmd utility
33 # @run shell jcmd-help-help.sh
48 rm -f jcmd.out 2>/dev/null
49 ${JCMD} -J-XX:+UsePerfData $appJavaPid help help | awk '{ if (NR>1) print $0;}' > jcmd.out 2>&1
50 echo jcmd.out
51 diff -w jcmd.out ${TESTSRC}/help_help.out
53 echo "Output of jcmd [pid] help help differ from expected output. Failed."
54 rm -f jcmd.out 2>/dev/null
H A Djcmd-big-script.sh29 # @summary test if we can send a file over 1024 bytes large via jcmd -f
34 # @run shell jcmd-big-script.sh
46 rm -f jcmd.out 2>/dev/null
47 set +e # even if jcmd fails, we do not want abort the script yet.
48 ${JCMD} -J-XX:+UsePerfData $appJavaPid -f ${TESTSRC}/dcmd-big-script.txt > jcmd.out 2>&1
52 echo "jcmd command returned non-zero exit code (status=$status). Failed."
55 cat jcmd.out
57 grep Exception jcmd.out > /dev/null 2>&1
61 echo "Output of \"jcmd [pid] -f dcmd-big-script.txt\" contains string \"Exception\". Failed."
66 rm -f jcmd
[all...]
/openjdk7/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DJcmdBase.java33 * Attach jcmd to the current process
36 * jcmd command line parameters, e.g. JFR.start
37 * @return jcmd output
40 public final static OutputAnalyzer jcmd(String... commandArgs) method in class:JcmdBase
45 // jcmd from the jdk to be tested
46 String jcmdPath = JdkFinder.getTool("jcmd", false);
/openjdk7/jdk/make/sun/tools/
H A DMakefile45 sun/tools/jcmd \
/openjdk7/jdk/src/share/classes/sun/tools/jcmd/
H A DArguments.java26 package sun.tools.jcmd;
113 System.out.println("Usage: jcmd <pid | main class> <command ...|PerfCounter.print|-f file>");
114 System.out.println(" or: jcmd -l ");
115 System.out.println(" or: jcmd -h ");
117 System.out.println(" command must be a valid jcmd command for the selected jvm. ");
H A DJCmd.java27 package sun.tools.jcmd;
/openjdk7/jdk/make/launchers/
H A DMakefile67 $(call make-launcher, jcmd, sun.tools.jcmd.JCmd, , )
/openjdk7/jdk/test/sun/management/jmxremote/startstop/
H A DJMXStartStopTest.sh108 echo "RUN: ${TESTJAVA}/bin/jcmd JMXStartStopDoSomething $*"
109 ${TESTJAVA}/bin/jcmd JMXStartStopDoSomething $*
111 ${TESTJAVA}/bin/jcmd JMXStartStopDoSomething $* > /dev/null 2>/dev/null
157 # start JMX by jcmd
180 # start JMX by jcmd on one port than on other one
216 # start JMX by jcmd on one port, specify rmi port explicitly
262 # start JMX by jcmd on one port, specify rmi port explicitly
541 if [ ! -x "${TESTJAVA}/bin/jcmd" ]
543 echo "${TESTJAVA}/bin/jcmd"
/openjdk7/hotspot/src/share/vm/services/
H A DattachListener.cpp154 // A jcmd attach operation request was received, which will now
156 static jint jcmd(AttachOperation* op, outputStream* out) { function
158 // All the supplied jcmd arguments are stored as a single
390 { "jcmd", jcmd },
/openjdk7/jdk/test/sun/management/jdp/
H A DJdpTest.sh34 # temporary disable jcmd related tests
129 ${TESTJAVA}/bin/jcmd JdpDoSomething $* > /dev/null 2>/dev/null
/openjdk7/jdk/make/common/
H A DRelease.gmk148 jcmd.1 \
347 sun/tools/jcmd \
485 jcmd$(EXE_SUFFIX) \
595 $(ECHO) "sun/tools/jcmd/" >> $@

Completed in 91 milliseconds