Elasticsearch 启停数据库
1. 启动数据库
# 示例1:启动端口为10701的ES实例
采用普通用户启动ES实例:
# su - es -c 'cd /data/third_party/es/10701/bin && ./elasticsearch -d'
查看ES进程信息:
# ps -ef |grep -v grep|grep elasticsearch
es 123143 1 99 17:20 ? 00:00:13 /bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=