# Is there an ES API where I can check java settings?

**URL:** <https://discuss.elastic.co/t/is-there-an-es-api-where-i-can-check-java-settings/121243>\
**Category:** Elasticsearch\
**Created:** [February 23, 2018, 3:42pm UTC](https://discuss.elastic.co/t/is-there-an-es-api-where-i-can-check-java-settings/121243 "2018-02-23T15:42:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [February 23, 2018, 3:42pm UTC](https://discuss.elastic.co/t/is-there-an-es-api-where-i-can-check-java-settings/121243/1 "2018-02-23T15:42:49Z")

</div>

Was trying to google ES settings to see if I can find out if ElasticSearch did indeed pick up the correct jvm.options but couldn't find an answer : What would be the easiest way to look at the elasticsearch JVM settings once ElasticSearch is up?

---

<div class="post-metadata">

**Author:** ![loren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loren/32/44942_2.png) [@loren](https://discuss.elastic.co/u/loren)\
**Post date:** [February 23, 2018, 11:14pm UTC](https://discuss.elastic.co/t/is-there-an-es-api-where-i-can-check-java-settings/121243/2 "2018-02-23T23:14:26Z")

</div>

The logs will show this. E.g.,

```auto
[2018-02-23T15:12:40,500][INFO][o.e.e.NodeEnvironment] [-9yI1ZJ] heap size [2.9gb], compressed ordinary object pointers [true]
[2018-02-23T15:12:40,775][INFO][o.e.n.Node] version[6.1.1], pid[643], build[bd92e7f/2017-12-17T20:23:25.338Z], OS[Mac OS X/10.13.3/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_112/25.112-b16]
[2018-02-23T15:12:40,775][INFO][o.e.n.Node] JVM arguments [-Xms3g, -Xmx3g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/usr/local/Cellar/elasticsearch/6.1.1/libexec, -Des.path.conf=/usr/local/etc/elasticsearch]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2018, 11:14pm UTC](https://discuss.elastic.co/t/is-there-an-es-api-where-i-can-check-java-settings/121243/3 "2018-03-23T23:14:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
