1 #
   2 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #
  23 
  24 pattern=%p
  25 javaOnly=true
  26 args=%p
  27 ################################################################################
  28 # process info to gather
  29 ################################################################################
  30 onTimeout=\
  31   jinfo \
  32   jcmd.compiler.codecache jcmd.compiler.codelist \
  33         jcmd.compiler.queue \
  34   jcmd.vm.classloader_stats jcmd.vm.stringtable \
  35         jcmd.vm.symboltable jcmd.vm.uptime jcmd.vm.dynlibs \
  36         jcmd.vm.system_properties \
  37   jcmd.gc.class_stats jcmd.gc.class_histogram \
  38   jstack \
  39   jmap.heap jmap.histo jmap.clstats jmap.finalizerinfo
  40 
  41 jinfo.app=jinfo
  42 
  43 jcmd.app=jcmd
  44 
  45 jcmd.compiler.codecache.args=%p Compiler.codecache
  46 jcmd.compiler.codelist.args=%p Compiler.codelist
  47 jcmd.compiler.queue.args=%p Compiler.queue
  48 
  49 jcmd.vm.classloader_stats.args=%p VM.classloader_stats
  50 jcmd.vm.stringtable.args=%p VM.stringtable
  51 jcmd.vm.symboltable.args=%p VM.symboltable
  52 jcmd.vm.uptime.args=%p VM.uptime
  53 jcmd.vm.dynlibs.args=%p VM.dynlibs
  54 jcmd.vm.system_properties.args=%p VM.system_properties
  55 
  56 jcmd.gc.class_stats.args=%p GC.class_stats
  57 jcmd.gc.class_histogram.args=%p GC.class_histogram
  58 
  59 jstack.app=jstack
  60 jstack.params.repeat=6
  61 
  62 jmap.app=jmap
  63 jmap.heap.args=-heap %p
  64 jmap.histo.args=-histo %p
  65 jmap.clstats.args=-clstats %p
  66 jmap.finalizerinfo.args=-finalizerinfo %p
  67 
  68 ################################################################################
  69 # environment info to gather
  70 ################################################################################
  71 environment=jps
  72 jps.app=jps
  73 jps.args=-mlv
  74 ################################################################################