alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (usage.out)

This example Java source code file (usage.out) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

java, jvm, the, usage, use

The usage.out Java example source code

Usage: jcmd <pid | main class> 
   or: jcmd -l                                                       
   or: jcmd -h                                                       
                                                                  
  command must be a valid jcmd command for the selected jvm.    
  Use the command "help" to see which commands are available.   
  If the pid is 0, commands will be sent to all Java processes.   
  The main class argument will be used to match (either partially 
  or fully) the class used to start Java.                         
  If no options are given, lists Java processes (same as -p).     
                                                                  
  PerfCounter.print display the counters exposed by this process   
  -f  read and execute commands from the file                     
  -l  list JVM processes on the local machine                     
  -h  this help                                                   

Other Java examples (source code examples)

Here is a short list of links related to this Java usage.out source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.