• 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
  • 相关阅读:
    ios上input的focus()、autofocus无效
    Object.assign()
    解决vue build后不兼容IOS11以下版本,并清理index缓存
    JavaScript常用方法
    mui-picker 增加过滤
    安装node-sass提示没有vendor目录的解决办法
    Base64编码
    object排序
    JSON数组去重
    vdom
  • 原文地址:https://www.cnblogs.com/deny/p/15066630.html
Copyright © 2020-2023  润新知