$ ps aux | grep ela
XXX 14788 577 86.9 357323116 57131256 ? Ssl Aug14 1101499:25 /usr/local/bin/java -Xms30G -Xmx30G -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Des.path.home=/usr/local/elasticsearch-5.2.2 -cp /usr/local/elasticsearch-5.2.2/lib/elasticsearch-5.2.2.jar:/usr/local/elasticsearch-5.2.2/lib/* org.elasticsearch.bootstrap.Elasticsearch -p /usr/local/elasticsearch-5.2.2/pid//elasticsearch.pid -Edefault.path.logs=/usr/local/elasticsearch-5.2.2/logs/ -Edefault.path.data=/usr/local/elasticsearch-5.2.2/data/ -Edefault.path.conf=/usr/local/elasticsearch-5.2.2/config/ --quiet
nbzhiwei 15316 0.0 0.0 112724 2256 pts/0 S+ 14:22 0:00 grep --color=auto ela
$ jstat -gc 14788
14788 not found
XXX 14788 577 86.9 357323116 57131256 ? Ssl Aug14 1101499:25 /usr/local/bin/java -Xms30G -Xmx30G -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Des.path.home=/usr/local/elasticsearch-5.2.2 -cp /usr/local/elasticsearch-5.2.2/lib/elasticsearch-5.2.2.jar:/usr/local/elasticsearch-5.2.2/lib/* org.elasticsearch.bootstrap.Elasticsearch -p /usr/local/elasticsearch-5.2.2/pid//elasticsearch.pid -Edefault.path.logs=/usr/local/elasticsearch-5.2.2/logs/ -Edefault.path.data=/usr/local/elasticsearch-5.2.2/data/ -Edefault.path.conf=/usr/local/elasticsearch-5.2.2/config/ --quiet
nbzhiwei 15316 0.0 0.0 112724 2256 pts/0 S+ 14:22 0:00 grep --color=auto ela
$ jstat -gc 14788
14788 not found
3 个回复
easyice - 张超
赞同来自:
trycatchfinal
赞同来自:
rebornhuang - 90后大数据工作者
赞同来自: