[jboss-dev-forums] [Design of JBoss Profiler] - Re: Please help me about jboss-profiler configuration.

rainbow_dai do-not-reply at jboss.com
Wed Nov 1 20:30:49 EST 2006


clebert, Thanks for your suggestion.
I execute the command is "java -XrunjbossInspector:e:\log,include=org.jboss,ignore=*,start=org.jboss.mq.MQServer,uniqueNames=true" in MS-DOS
and there will be some info as below:
******************************************************
Running process on Windows 2520
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D=
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:...|:]
    -enableassertions[:...|:]
                  enable assertions
    -da[:...|:]
    -disableassertions[:...|:]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:[=]
                  load native agent library , e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:[=]
                  load native agent library by full pathname
    -javaagent:[=]
                  load Java programming language agent, see java.lang.instrument
*************************************************************

Base on your suggestion, I try to use only -XRunjbossInspector:directory, such as "java -XrunjbossInspector:E:\log". It still can get data, but also no result in list after analyse these data.

otherwise, I set an new environment variable JAVA_OPTS. such as below:
"JAVA_OPTS=-XrunjbossInspector:/E:\log,include=org.ex,ignore=*,start=org.ex.Main"

Thank a lot!!



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982508#3982508

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982508



More information about the jboss-dev-forums mailing list