Linux中如何停止kibana

来源:互联网 发布:微信群营销软件 编辑:程序博客网 时间:2024/06/04 19:24

情景:

使用如下命令都无法查询到kibana的PID

ps -ef  | grep kibanaps -ef  | grep 5601

经过实践,使用如下方法可以查询到kibana的PID:

ps -ef | grep node

实例:

启动kibana

./kibana
 log   [01:49:04.709] [info][status][plugin:kibana@5.0.2] Status changed from uninitialized to green - Ready  log   [01:49:04.938] [info][status][plugin:elasticsearch@5.0.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch  log   [01:49:05.018] [info][status][plugin:xpack_main@5.0.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch  log   [01:49:05.166] [info][status][plugin:graph@5.0.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch  log   [01:49:05.194] [info][status][plugin:elasticsearch@5.0.2] Status changed from yellow to green - Kibana index ready  log   [01:49:05.237] [info][license][xpack] Imported license information from Elasticsearch: mode: basic | status: active | expiry date: 2018-01-17T07:59:59+08:00  log   [01:49:05.317] [info][status][plugin:monitoring@5.0.2] Status changed from uninitialized to yellow - Waiting for Monitoring Health Check  log   [01:49:05.322] [info][status][plugin:xpack_main@5.0.2] Status changed from yellow to green - Ready  log   [01:49:05.324] [info][status][plugin:graph@5.0.2] Status changed from yellow to green - Ready  log   [01:49:05.357] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml  log   [01:49:05.377] [info][status][plugin:reporting@5.0.2] Status changed from uninitialized to green - Ready  log   [01:49:05.504] [info][status][plugin:security@5.0.2] Status changed from uninitialized to green - Ready  log   [01:49:05.511] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml  log   [01:49:05.533] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.  log   [01:49:06.069] [info][status][plugin:monitoring@5.0.2] Status changed from yellow to green - Ready  log   [01:49:06.082] [info][status][plugin:console@5.0.2] Status changed from uninitialized to green - Ready  log   [01:49:06.985] [info][status][plugin:timelion@5.0.2] Status changed from uninitialized to green - Ready  log   [01:49:07.007] [info][listening] Server running at http://172.168.1.121:5601  log   [01:49:07.011] [info][status][ui settings] Status changed from uninitialized to green - Ready

查询kibana的PID

ps -ef | grep node
avahi      866     1  0 Aug31 ?        00:00:01 avahi-daemon: running [node121.local]root      8118  2295  0 09:51 pts/0    00:00:00 grep --color=auto node

结束进程

kill -9 866

9/1/2017 10:29:41 AM

原创粉丝点击