全文检索ES 服务启动和关闭
nohup ./elasticsearch & 可以后台开启elasticsearch服务
ps-ef列出所有进程
ps-ef | grep elastic...查找elastic。。的进程
kill 进程数字(如:1932,对应java开头的进程)
例子如下:
login as: elasticsearch
elasticsearch@192.168.10.29's password:
Last login: Wed Sep 21 11:29:06 2016 from 172.16.42.225
[elasticsearch@centos29 ~]$ cd elasticsearch
[elasticsearch@centos29 elasticsearch]$ cd bin
[elasticsearch@centos29 bin]$ ps -ef | grep elas
root 1233 1646 0 10:26 ? 00:00:00 sshd: elasticsearch [priv]
500 1237 1233 0 10:26 ? 00:00:00 sshd: elasticsearch@pts/2
500 2468 1 23 11:30 ? 00:00:16 /usr/bin/java -Xms256m -Xmx1g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8 -Djna.nosys=true -Des.path.home=/usr/elasticsearch/elasticsearch -cp /usr/elasticsearch/elasticsearch/lib/elasticsearch-2.1.1.jar:/usr/elasticsearch/elasticsearch/lib/* org.elasticsearch.bootstrap.Elasticsearch start
root 2567 1646 0 11:30 ? 00:00:00 sshd: elasticsearch [priv]
500 2572 2567 0 11:31 ? 00:00:00 sshd: elasticsearch@pts/0
500 2598 2573 0 11:31 pts/0 00:00:00 grep elas
[elasticsearch@centos29 bin]$ kill 2468
[elasticsearch@centos29 bin]$ nohup ./elasticsearch &
[1] 2608
[elasticsearch@centos29 bin]$ nohup: ignoring input and appending output to `nohup.out
最新文章
- Oracle 正则表达式函数-REGEXP_INSTR 使用例子
- float和double在内存中的存储方式
- C++链接两个cpp 文件
- hdoj 2039 三角形
- 【即时通讯】即时通讯及XMPP概述及…
- EXT Grid 默认展开所有行
- DHCP Set Hostname
- Android APK反编译详解(附图)
- js中的referrer使用,返回上一页
- Protel 99SE铺铜问题总结
- HTML5 智能表单
- java多线程系列(三)---等待通知机制
- Less运算和函数
- js 客户端打印html 并且去掉页眉、页脚
- linux下文件共享的几种常用方式
- 【AtCoder010】B - Boxes(差分)
- Chromimu与JS交互的测试
- Java HashMap 遍历、删除、排序
- 最长回文字串——manacher算法
- linux系统管理 计划任务
热门文章
- 策略模式(Strategy
- Luogu P5103 「JOI 2016 Final」断层 树状数组or线段树+脑子
- 洛谷P5280 [ZJOI2019]线段树
- ERROR: Unable to globalize '/usr/local/NONE/etc/php-fpm.d/*.conf' (ret = 2) from /usr/local/etc/php-fpm.conf at line WARNING: Nothing matches the include pattern '/usr/local/php7/etc/php-fpm.d/*.conf'
- 使用shell巧妙高效的批量删除历史文件或目录
- 数据库用户被锁怎么办,报the passord logon
- 《C#高效编程》读书笔记09-避免在API中使用转换操作符
- axios使用配置
- Nobody gives away anything valuable for free.
- php编译安装过程中遇到问题