[jboss-user] [Performance Tuning] - Re: How to confirm JVM Settings
Radoslav Husar
do-not-reply at jboss.com
Wed Aug 21 04:08:36 EDT 2013
Radoslav Husar [https://community.jboss.org/people/rhusar] created the discussion
"Re: How to confirm JVM Settings"
To view the discussion, visit: https://community.jboss.org/message/833318#833318
--------------------------------------------------------------
No, you are not.
java -XshowSettings:all will start a new process and output infomation about that process. You would need to add that to JAVA_OPTS to be helpful. It will print out settings when you server starts.
But I usually just look at what the process has been started with:
[rhusar at rhusar wildfly-8.0.0.Beta1-SNAPSHOT]$ ps xafu | grep java
rhusar 17974 147 2.5 3181648 204168 pts/3 Sl+ 10:05 0:07 | \_ /usr/java/latest/bin/java -D[Standalone] -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT/standalone/log/server.log -Dlogging.configuration=file:/home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT/standalone/configuration/logging.properties -jar /home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT/jboss-modules.jar -mp /home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT/modules org.jboss.as.standalone -Djboss.home.dir=/home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT -Djboss.server.base.dir=/home/rhusar/as/build/target/wildfly-8.0.0.Beta1-SNAPSHOT/standalone -c standalone-ha.xml
...and I see the options kicked in.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833318#833318]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130821/55544c31/attachment.html
More information about the jboss-user
mailing list