Skip to content

Instantly share code, notes, and snippets.

@objectiveSee
Created December 22, 2015 17:51
Show Gist options
  • Save objectiveSee/d46d1dce4c41c9430434 to your computer and use it in GitHub Desktop.
Save objectiveSee/d46d1dce4c41c9430434 to your computer and use it in GitHub Desktop.
curl http://localhost:9200/_nodes/jvm?pretty.json
{
"cluster_name" : "elasticsearch",
"nodes" : {
"QbEzXa1MRoOoupjNELMwlw" : {
"name" : "Zzzax",
"transport_address" : "inet[/10.0.0.240:9300]",
"host" : "ip-10-0-0-240",
"ip" : "10.0.0.240",
"version" : "1.4.0",
"build" : "bc94bd8",
"http_address" : "inet[/10.0.0.240:9200]",
"jvm" : {
"pid" : 22855,
"version" : "1.7.0_65",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "24.65-b04",
"vm_vendor" : "Oracle Corporation",
"start_time_in_millis" : 1450804613532,
"mem" : {
"heap_init_in_bytes" : 268435456,
"heap_max_in_bytes" : 2112618496,
"non_heap_init_in_bytes" : 24313856,
"non_heap_max_in_bytes" : 224395264,
"direct_max_in_bytes" : 2112618496
},
"gc_collectors" : [ "ParNew", "ConcurrentMarkSweep" ],
"memory_pools" : [ "Code Cache", "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ]
}
},
"UboxgH3wRyWvx6xmGFI3kg" : {
"name" : "logstash-ip-10-0-0-240-22725-2020",
"transport_address" : "inet[/10.0.0.240:9301]",
"host" : "ip-10-0-0-240",
"ip" : "10.0.0.240",
"version" : "1.1.1",
"build" : "f1585f0",
"attributes" : {
"client" : "true",
"data" : "false"
},
"jvm" : {
"pid" : 22725,
"version" : "1.7.0_65",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "24.65-b04",
"vm_vendor" : "Oracle Corporation",
"start_time_in_millis" : 1450804601510,
"mem" : {
"heap_init_in_bytes" : 246463232,
"heap_max_in_bytes" : 506855424,
"non_heap_init_in_bytes" : 24313856,
"non_heap_max_in_bytes" : 224395264,
"direct_max_in_bytes" : 506855424
},
"gc_collectors" : [ "ParNew", "ConcurrentMarkSweep" ],
"memory_pools" : [ "Code Cache", "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ]
}
}
}
}
@objectiveSee
Copy link
Author

From PS:

ubuntu@ip-10-0-0-240:~$ ps aux | grep elasticsearch
elastic+ 22855 14.9  7.3 18337872 1132396 ?    Sl   17:16   4:54 /usr/lib/jvm/java-7-openjdk-amd64//bin/java -Xms256m -Xmx2g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Delasticsearch -Des.pidfile=/var/run/elasticsearch.pid -Des.path.home=/usr/share/elasticsearch -cp :/usr/share/elasticsearch/lib/elasticsearch-1.4.0.jar:/usr/share/elasticsearch/lib/*:/usr/share/elasticsearch/lib/sigar/* -Des.default.config=/etc/elasticsearch/elasticsearch.yml -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch org.elasticsearch.bootstrap.Elasticsearch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment