命令样例如下:

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. 上位机使用JS SerialPort进行串口通信, 包含开发环境搭建和完整示例代码

    在嵌入式开发中,我们经常需要使用上位机(PC)与一些电路模块进行通信, 用于获取一些传感器的数据,或者发送命令控制相应的电路模块.NodeJS目前支持使用SerialPort模块进行串口通信,本文主要 ...

  2. vue2和vue3使用echarts时无数据,怎么显示暂无数据图片或文字

    一开始也经历了用v-if和v-show,v-show的话echarts还会留出暂无数据图片的位置,导致echarts变形,v-if在加载和不加载切换时,dom会获取不到:后来也是在网上找的方法,时间有 ...

  3. 形象描绘TCP三次握手和四次挥手

    一.TCP三次握手TCP 三次握手就好比两个人在街上隔着50米看见了对方,但是因为雾霾等原因不能100%确认,所以要通过招手的方式相互确定对方是否认识自己.形象描绘TCP三次握手和四次挥手 张三首先向 ...

  4. PostgreSQL学习笔记-4.基础知识:空值NULL、别名AS

    NULL 值代表遗漏的未知数据. 默认地,表的列可以存放 NULL 值. 本章讲解 IS NULL 和 IS NOT NULL 操作符. 语法 当创建表时,NULL 的基本语法如下: CREATE T ...

  5. 中国科教工作者协会与CCF PTA联合认证学习须知

    中国科教工作者协会与CCF PTA联合认证学习须知 1.参与认证人员需在科技学堂(www.sciclass.cn)上进行课程学习,然后在PTA官网(pta.ccf.org.cn)报名并参加认证考试,考 ...

  6. Arduino Uno Rev3

    Overview Arduino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digit ...

  7. Kraft模式下Kafka脚本的使用

    Kafka集群 版本:V3.5.1 名称 Node1 Node2 Node3 IP 172.29.145.157 172.29.145.182 172.29.145.183 (1)查看Kraft集群中 ...

  8. 【matplotlib 实战】--漏斗图

    漏斗图,形如"漏斗",用于展示数据的逐渐减少或过滤过程.它的起始总是最大,并在各个环节依次减少,每个环节用一个梯形来表示,整体形如漏斗.一般来说,所有梯形的高度应是一致的,这会有助 ...

  9. centos服务器搭建https

    一.环境 OS:CentOS Linux release 8.2.2004 (Core) 硬件:某外网云服务器虚拟机 二.安装命令 1.安装nginx yum install nginx 2.安装签发 ...

  10. 一个Unity富文本插件的实现思路

    项目中原来的富文本组件不太好用,做了一些修改,记述主要思路.缺陷很多. 仅适用于没用TextMeshPro,且不打算用的项目,否则请直接用TextMeshPro 原组件特点: 使用占位符模式,创建新的 ...