1.查看进程
ps -ef | grep java
或者
ps -ef | grep elastic
2.杀死该进程
kill -9 1302
ps -ef|grep elastic
3.启动服务
#切换es用户,启动elasticsearch不能使用root用户
su es
cd /opt/elasticsearch-7.3.0/bin
#后台运行
./elasticsearch -d
ps -ef|grep elastic
4.查看内存暂用情况
top