jdk/test/sun/tools/jcmd/usage.out
author fparain
Wed, 04 Jan 2012 03:49:35 -0800
changeset 11365 05d995976571
child 22286 5c1a07e4573d
permissions -rw-r--r--
7104647: Adding a diagnostic command framework Reviewed-by: mchung, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11365
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     1
Usage: jcmd <pid | main class> <command ...|PerfCounter.print|-f file>
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     2
   or: jcmd -l                                                       
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     3
   or: jcmd -h                                                       
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     4
                                                                  
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     5
  command must be a valid jcmd command for the selected jvm.    
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     6
  Use the command "help" to see which commands are available.   
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     7
  If the pid is 0, commands will be sent to all Java processes.   
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     8
  The main class argument will be used to match (either partially 
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
     9
  or fully) the class used to start Java.                         
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    10
  If no options are given, lists Java processes (same as -p).     
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    11
                                                                  
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    12
  PerfCounter.print display the counters exposed by this process   
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    13
  -f  read and execute commands from the file                     
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    14
  -l  list JVM processes on the local machine                     
05d995976571 7104647: Adding a diagnostic command framework
fparain
parents:
diff changeset
    15
  -h  this help