摘要: 获取每个节点的磁盘空间 curl -XGET 'slug:9200/_cat/allocation?v' 查看分片 curl -XGET 'slug:9200/_cat/shards?v' 查询集群健康状态 curl -XGET 'slug:9200/_cat/health?v' 查询节点 curl 阅读全文
posted @ 2020-08-11 19:52 ascertain 阅读(591) 评论(0) 推荐(0) 编辑
摘要: HTTP协议常用标准状态码含义 状态码含义备注 200 请求已完成 2XX状态码均为正常状态码返回。 300 多种选择 服务器根据请求可执行多种操作。服务器可根据请求者(User agent)来选择一项操作,或提供操作列表供请求者选择。 301 永久移动 请求的网页已被永久移动到新位置。服务器返回此 阅读全文
posted @ 2020-08-11 18:18 ascertain 阅读(317) 评论(0) 推荐(0) 编辑
摘要: https://help.aliyun.com/document_detail/60714.html 阅读全文
posted @ 2020-08-11 18:05 ascertain 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 1: #!/bin/bash for ((;;));do echo 'endless loop' sleep 2 done 2: #!/bin/env sh while true;do echo 'endless loop' sleep 2 done 3: #!/bin/env bash until 阅读全文
posted @ 2020-08-11 14:35 ascertain 阅读(253) 评论(0) 推荐(0) 编辑