命令样例如下:

curl -X GET "https://localhost:9200/_cat/thread_pool?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

node_name     name                                   active queue rejected
jackie-ubuntu analyze 0 0 0
jackie-ubuntu auto_complete 0 0 0
jackie-ubuntu azure_event_loop 0 0 0
jackie-ubuntu ccr 0 0 0
jackie-ubuntu cluster_coordination 0 0 0
jackie-ubuntu downsample_indexing 0 0 0
jackie-ubuntu esql 0 0 0
jackie-ubuntu esql_worker 0 0 0
jackie-ubuntu fetch_shard_started 0 0 0
jackie-ubuntu fetch_shard_store 0 0 0
jackie-ubuntu flush 0 0 0
jackie-ubuntu force_merge 0 0 0
jackie-ubuntu generic 0 0 0
jackie-ubuntu get 0 0 0
jackie-ubuntu inference_utility 0 0 0
jackie-ubuntu management 1 0 0
jackie-ubuntu ml_datafeed 0 0 0
jackie-ubuntu ml_job_comms 0 0 0
jackie-ubuntu ml_native_inference_comms 0 0 0
jackie-ubuntu ml_utility 0 0 0
jackie-ubuntu profiling 0 0 0
jackie-ubuntu refresh 0 0 0
jackie-ubuntu repository_azure 0 0 0
jackie-ubuntu rollup_indexing 0 0 0
jackie-ubuntu search 0 0 0
jackie-ubuntu search_coordination 0 0 0
jackie-ubuntu search_throttled 0 0 0
jackie-ubuntu search_worker 0 0 0
jackie-ubuntu searchable_snapshots_cache_fetch_async 0 0 0
jackie-ubuntu searchable_snapshots_cache_prewarming 0 0 0
jackie-ubuntu security-crypto 0 0 0
jackie-ubuntu security-token-key 0 0 0
jackie-ubuntu snapshot 0 0 0
jackie-ubuntu snapshot_meta 0 0 0
jackie-ubuntu system_critical_read 0 0 0
jackie-ubuntu system_critical_write 0 0 0
jackie-ubuntu system_read 0 0 0
jackie-ubuntu system_write 0 0 0
jackie-ubuntu warmer 0 0 0
jackie-ubuntu watcher 0 0 0
jackie-ubuntu write 0 0 0

查看帮助,命令如下:

curl -X GET "https://localhost:9200/_cat/thread_pool?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

node_name         | nn  | node name
node_id | id | persistent node id
ephemeral_node_id | eid | ephemeral node id
pid | p | process id
host | h | host name
ip | i | ip address
port | po | bound transport port
name | n | thread pool name
type | t | thread pool type
active | a | number of active threads
pool_size | psz | number of threads
queue | q | number of tasks currently in queue
queue_size | qs | maximum number of tasks permitted in queue
rejected | r | number of rejected tasks
largest | l | highest number of seen active threads
completed | c | number of completed tasks
core | cr | core number of threads in a scaling thread pool
max | mx | maximum number of threads in a scaling thread pool
size | sz | number of threads in a fixed thread pool
keep_alive | ka | thread keep alive time

相关资料

ElasticSearch之cat thread pool API的更多相关文章

  1. Improve Scalability With New Thread Pool APIs

    Pooled Threads Improve Scalability With New Thread Pool APIs Robert Saccone Portions of this article ...

  2. elasticsearch【cat API,系统数据】指令汇总

    本博文讲述的ES获取系统数据的API是基于Elasticsearch 2.4.1版本的. 0. overview a. 下面将要介绍的所有的指令,都支持一个查询参数v(verbose),用来显示详细的 ...

  3. Elasticsearch利用cat api快速查看集群状态、内存、磁盘使用情况

    使用场景 当Elasticsearch集群中有节点挂掉,我们可以去查看集群的日志信息查找错误,不过在查找错误日志之前,我们可以通过elasticsearch的cat api简单判断下各个节点的状态,包 ...

  4. Reporting Service 告警"w WARN: Thread pool pressure. Using current thread for a work item"

    如果Reporting Service偶尔出现不可访问或访问出错情况,这种情况一般没有做监控的话,很难捕捉到.出现这种问题,最好检查Reporting Service的日志文件. 今天早上就遇到这样一 ...

  5. The CLR's Thread Pool

    We were unable to locate this content in zh-cn. Here is the same content in en-us. .NET The CLR's Th ...

  6. MySQL thread pool【转】

    本文来自:http://blog.chinaunix.net/uid-26896862-id-3993773.html 刚刚经历了淘宝的双11,真实感受到了紧张的氛围.尽管DB淡定的度过,但是历程中的 ...

  7. worksteal thread pool

    worksteal的场景 对于一个线程池,每个线程有一个队列,想象这种场景,有的线程队列中有大量的比较耗时的任务堆积,而有的线程队列却是空的,现象就是有的线程处于饥饿状态,而有的线程处于消化不良的状态 ...

  8. CLR thread pool

    Thread Pooling https://msdn.microsoft.com/en-us/library/windows/desktop/ms686756(v=vs.85).aspx Threa ...

  9. MySQL Thread Pool: Problem Definition

    A new thread pool plugin is now a part of the MySQL Enterprise Edition.In this blog we will cover th ...

  10. Thread Pool Engine, and Work-Stealing scheduling algorithm

    http://pages.videotron.com/aminer/threadpool.htm http://pages.videotron.com/aminer/zip/threadpool.zi ...

随机推荐

  1. 制作一个内部的 zabbix-agent 快速部署脚本

    下载官方的基础 agent 部署包 官方地址:点击到达 curl -O https://cdn.zabbix.com/zabbix/binaries/stable/5.0/5.0.36/zabbix_ ...

  2. 2023年Vue开发中的8个最佳工具

    前言 Vue.js,一款当今非常流行的基于JavaScript的开源框架,旨在构建动态的可交互应用. Vue.js以其直观的语法和灵活的架构而广受全球开发者的欢迎和赞誉.随着时间的推移,Vue不断进化 ...

  3. vue~封装一个文本框添加与删除的组件

    标签组件的效果如下 组件作用 这是一个div,包含了两个文本框,后面是添加和删除按钮 添加按钮复制出新的div,除了文本框没有内容,其它都上面一样 删除按钮将当前行div删除 组件实现 <tem ...

  4. oracle-组合索引字段位置与查询效率之间的关系

    Oracle索引组合字段的位置不同,当查询条件不能覆盖索引时,影响查询效率.查询条件是不是索引字段的第一列影响执行计划,实验验证 实验1:查询条件为组合索引的第一列--创建测试表 create tab ...

  5. 卷积导向快速傅里叶变换(FFT/NTT)教程

    1 Forewords 卷积,但不止卷积 - FFT 漫谈 先有 FT,再有 DFT,才有 FFT 时频转换是最初的用途 发现单位根优秀性质,James Cooley, John Tukey 发明现代 ...

  6. FreeSWITCH添加h264编码及pcap视频提取

    操作系统 :CentOS 7.6_x64.Windows 10_x64 FreeSWITCH版本 :1.10.9 Python版本:3.9.2 一.启用h264相关模块 这里以 mod_openh26 ...

  7. .Net7自定义GC垃圾回收器

    1.前言 CLR和GC高度耦合,.Net7里面分离CLR和GC,则比较容易实现这件事情.本篇来看下,自定义一个GC垃圾回收器. 2.概述 这里首先演示下自定义GC垃圾回收后的效果. 1.下载Custo ...

  8. mapState、mapGetters、mapMutations、mapActions学习

    https://next.vuex.vuejs.org/zh/guide/state.html#mapstate-%E8%BE%85%E5%8A%A9%E5%87%BD%E6%95%B0 https: ...

  9. 回文自动机(PAM) 详解

    PAM 是一种高效存储字符串中所有回文子串的自动机,用于解决回文串相关问题. 虽然代码稍微长一点,但写起来比 manacher 容易很多,毕竟没有加了一堆字符再转回原串的若干上取整下取整问题. 前置知 ...

  10. P7072 [CSP-J2020] 直播获奖

    Problem 考查知识点:桶优化. 题目简述 竞赛的获奖率为 \(w\%\),即当前排名前 \(w\%\) 的选手的最低成绩就是即时的分数线. 若当前已评出了 \(p\) 个选手的成绩,则当前计划获 ...