java怎么拦截某个对象
240
2022-11-17
停止elasticsearch的命令
wilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ ps -ef | grep Elasticsearch | grep -v Usage: grep [OPTION]... PATTERN [FILE]...Try 'grep --help' for more information.wilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ ps -ef | grep Elasticsearch wilson 2144 2128 4 09:07 pts/0 00:01:38 /myapps/jdk1.8.0_73/bin/java -Xms1g -Xmx1g -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 -Djava.io.tmpdir=/tmp/elasticsearch.2Sq86ljk -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:ErrorFile=logs/hs_err_pid%p.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=32 -XX:GCLogFileSize=64m -Des.path.home=/myapps/elasticsearch-6.5.3 -Des.path.conf=/myapps/elasticsearch-6.5.3/config -Des.distribution.flavor=default -Des.distribution.type=tar -cp /myapps/elasticsearch-6.5.3/lib/* org.elasticsearch.bootstrap.Elasticsearchwilson 5648 2208 0 09:47 pts/1 00:00:00 grep --color=auto Elasticsearchwilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ ps -ef | grep Elasticsearch | grep -v grep | awk '{print $2}'2144wilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ kill `ps -ef | grep Elasticsearch | grep -v grep | awk '{print $2}'`wilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ lswilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$ ps -ef | grep Elasticsearch | grep -v grep | awk '{print $2}'wilson@wilson-virtual-machine:/myapps/elasticsearch-6.5.3/plugins/ik/elasticsearch-analysis-ik-6.5.3/target$
停止命令kill ps -ef | grep Elasticsearch | grep -v grep | awk '{print $2}'
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~