how to get default vm parameter value or the value of a running process?
Bernd Eckenfels
bernd-2014 at eckenfels.net
Wed May 7 16:15:54 UTC 2014
Hello,
for a running process you can use jinfo to print the flags set on the
comamnd line. Those flags and the one set by ergonomics will be
printed with "jcmd PID VM.flags" and a full list of all flags in effect
is printed by "jcmd PID VM.flags -all". (java8)
Gruss
Bernd
Am Wed,
7 May 2014 23:44:35 +0800 schrieb 曹旭东 <caoxudong818 at gmail.com>:
> fix typo
>
> -XX:+PrintFlagsFinal
>
>
> 2014-05-07 13:48 GMT+08:00 Tao Mao <yiyeguhu at gmail.com>:
>
> > Try this?
> > java -XX:+PrintFlagFinal -version
> >
> > Tao
> >
> >
> > On Tue, May 6, 2014 at 10:43 PM, Li Li <fancyerii at gmail.com> wrote:
> >
> >> is there any command to get the oracle/openjdk vm parameter's
> >> value? e.g. get -Xss tell me the default Xss or get -Xss pid tell
> >> me this running process's Xss value
> >> _______________________________________________
> >> hotspot-gc-use mailing list
> >> hotspot-gc-use at openjdk.java.net
> >> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
> >>
> >
> >
> > _______________________________________________
> > hotspot-gc-use mailing list
> > hotspot-gc-use at openjdk.java.net
> > http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
> >
> >
>
More information about the hotspot-gc-use
mailing list