_cat 是一个 api
// 查询当前的线程池 _cat/health
/_cat/health?v
解读:
epoch:时间戳,1970年1月1日0点0分到现在的秒数;timestamp:当前的时间,都是格林尼治时间,换算成北京时间需要加8个小时;cluster:当前集群的集群名称,图上就是默认的集群名称 elasticsearch;status:当前集群的健康状态;node.total:当前集群包含的所有节点数,这里是1个;node.data:当前集群包含的所有数据节点(用于存放数据),这里是1个;shards:表示当前集群包含16个分片;pri:表示主分片(primary shard)占6个;relo:relocating_shards 标识当前迁移中的分片数量;init:initializing_shards 标识初始化中的分片数量;unassign:unassigned_shards 表示未分配的分片数量;pending_tasks:number_of_pending_tasks 准备执行的任务数量;max_task_wait_time:最大的任务等待时间;active_shards_percent:当前活动的分片占的百分比;
_cluster/health
json 的形式展示 health 内容。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)