网站首页 站内搜索

搜索结果

查询Tags标签: running,共有 69条记录
  • 呕心沥血,nginx自动重启脚本唯一值

    呕心沥血,nginx自动重启脚本唯一值 #!/bin/bashwhile truedoA=`systemctl status nginx.service|grep running|awk {print $3}|tr -d [\(\)]`if [ -z "$A" -a "$A" != "running" ];then echo $(date +%F%n%T) "nginx1.18不健康需要…

    2021/7/2 7:24:49 人评论 次浏览
  • 进程/线程池、协程、gevent第三方库

    一、进程/线程池 1、进程池 (1)什么是进程池 如果需要创建的子进程数量不大,可以直接利用multiprocess中的Process来创建。但是当需要创建上百个或上千个,手动创建就较为繁琐,这时就可以利用进程池来创建,即current.futures模块中的ProcessPoolExecutor (2)Proces…

    2021/7/2 7:23:11 人评论 次浏览
  • calico-node显示running但not ready

    1、故障现象: kubenetes安装calico发现其中一个处于Running,但READY列却显示不正常,状态如下图所示: ![image.png](http://www.www.zyiz.net/i/li/?n=2&i=images/20210619/1624034621345549.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y…

    2021/6/19 9:27:04 人评论 次浏览
  • 每日一练_23. Java面向对象 - 封装、继承和多态。 第6关:final关键字的理解与使用。

    public class educoder06{final标记的类不能被继承; final标记的方法不能被子类复写; final标记的变量(成员变量或局部变量)即为常量,只能赋值一次 public class educoder06{ public static void main(String args[]){ Bike1 obj = new Bike1(); …

    2021/6/10 1:21:26 人评论 次浏览
  • 算法与数据结构-各种循环的时间复杂度分析(英语)

    前言 在英语面试中可能需要 用英语表达算法的时间复杂度,这篇博文是学习后自我训练的笔记,用学过的英语来描述算法的时间复杂度。 simple for-loop with an increment of size 1 for (int x = 0; x < n; x++) {//statement(s) that take constant time }The initiali…

    2021/5/31 20:25:19 人评论 次浏览
  • 线程及线程池状态

    java中定义了线程状态有6种,源码在Thread类中定义了枚举类 State:•NEWA thread that has not yet started is in this state. •RUNNABLEA thread executing in the Java virtual machine is in this state. •BLOCKEDA thread that is blocked waiting for a monitor …

    2021/5/13 18:25:09 人评论 次浏览
  • DENIED Redis is running in protected mode because protected mode is enabled

    DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the loopback interface. If you want to conn…

    2021/4/30 19:29:10 人评论 次浏览
  • MySQL 主从状态监控

    #!/bin/bash USERNAME="monitor" PASSWORD=123456 SLAVE_HOST="127.0.0.1" SLAVE_PORT="3307" MYSQL="/usr/local/mysql/bin/mysql -u$USERNAME -p$PASSWORD" SLAVE="$MYSQL -h $SLAVE_HOST -P $SLAVE_PORT"datetime=`…

    2021/4/25 19:26:37 人评论 次浏览
  • 【jmespath】—4. 进阶 Flatten Projections

    这里要怎么翻呢?扁平投影?一、Flatten Projections1. 核心1这个可以暂时忽略,一个重要的核心是:对于列表/对象投影,在投影中创建投影时,原始文档的结构将保留。说人话就是,比如下面的例子。可以看到,reservations列表中嵌套了字典,而instances的value,又是一个列…

    2021/4/23 18:26:46 人评论 次浏览
共69记录«上一页12345下一页»
扫一扫关注最新编程教程