zoukankan      html  css  js  c++  java
  • elasticsearch 常用命令

     https://blog.csdn.net/qq_37129281/article/details/89293591

    get _cluster/health
    
    get _cluster/state
    
    get _cluster/settings
    
    get _cluster/pending_tasks
    
     
    
    注:
    
    get _cluster/health查看分片状态
    
    get _cluster/state查看nodes,metadata, indices信息
    get _cat/nodes?v
    
    #查看ip|heap.percent|ram.percent |load_1m|load_5m|load_15m |node.role |master |name
    
    get _nodes
    
    get _nodes/stats
    
    #这两条命令相同
    
    #主要角色
    
    "roles": [
    
            "master",
    
            "data",
    
            "ingest"
    
          ],
    
     
    
    get _nodes/hot_threads
    
    get _nodes/node-1/hot_threads
    
     
    
    ::: {node-1}{BxHQfpeBRPq4CLOk61bOIQ}{-EzwOWxpTwyoekXMsssNIw}{192.168.11.73}{192.168.11.73:9300}
    
    Hot threads at 2017-11-16T05:14:55.330Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
    
       10.3% (51.3ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][bulk][T#2]'
    
         9/10 snapshots sharing following 2 elements
    
        3.5% (17.5ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][refresh][T#1]'
    
         10/10 snapshots sharing following 2 elements
  • 相关阅读:
    写在寒假
    Docker安装Redis(两种方式)
    JVM类加载机制
    RabbitMQ学习
    MySQL索引详解
    Java内存区域
    Window10下的Docker Desktop安装(保姆级教程)
    JVM垃圾回收
    力扣Hot100(目前进度89/100)
    C# 发送邮件实例
  • 原文地址:https://www.cnblogs.com/deny/p/15066630.html
Copyright © 2011-2022 走看看