命令样例如下:

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. Kafka Stream 高级应用

    9.1将Kafka 与其他数据源集成 对于第一个高级应用程序示例,假设你在金融服务公司工作.公司希望将其现有数据迁移到新技术实现的系统中,该计划包括使用 Kafka.数据迁移了一半,你被要求去更新公司 ...

  2. 618京东到家APP-门详页反爬实战

    一.背景与系统安全需求分析 1. 系统的重要性 上图所示是接口所属位置.对电商平台或在线商店而言,分类查商品都是很重要的,通过为用户提供清晰的商品分类,帮助他们快速找到所需产品,节省浏览时间,提升购物 ...

  3. Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...

    Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... 配置完ha ...

  4. Flask框架——详解URL、HTTP请求、视图函数和视图类

    文章目录 1 什么是url? 2 为什么要有url? 3 如何应用url? 3.1 url和路由的区别. 3.2 url传参的两种 3.2.1动态路由传参 3.2.1.1 动态路由的过滤 3.2.2 ...

  5. 43道Python经典案例题(有答案)

    1.有四个数字:1.2.3.4,能组成多少个互不相同且无重复数字的三位数?各是多少? for x in range(0,5): for y in range(0,5): for z in range( ...

  6. Linux第一次周总结

    第一章  初识 Linux 1.Linux简介 Linux,一般指GNU/Linux(单独的Linux内核并不可直接使用,一般搭配GNU套件,故得此称呼),是一种免费使用和自由传播的类UNIX操作系统 ...

  7. python-微信

    wxpy/itchat已禁用 自从微信禁止网页版登陆之后,itchat 库实现的功能也就都不能用了: itchat现在叫wxpy 1.安装库wxpy: PS D:\01VSCodeScript\Pyt ...

  8. Vue源码学习(十三):nextTick()方法

    好家伙,nextTick, (...这玩意,不太常用) 1.什么是nextTick 在Vue中,nextTick是一个用于异步执行回调函数的方法. 它在Vue更新DOM后被调用,以确保在下一次DOM更 ...

  9. GameFramework摘录 - 2.访问器模式(Version、Logger)

    访问器模式 Version.Logger等基础模块,功能相对固定但拥有几套不同的行为(如开发版本和正式版本不同),采用访问器模式,便于调整功能或复用 public static class Versi ...

  10. 一个简单高效低内存的.NET操作Excel开源框架 - MiniExcel

    前言 日常工作中经常与数据打交道的同学肯定会难以避免对Excel的一些数据操作如导入.导出等,但是当对一些大数据量操作Excel时经常会遇到一个常见的问题内存溢出.今天给大家推荐一个简单.高效.低内存 ...