终端for 循环 shell for
<p>1# 1分钟内连续发送错误请求 5 次</p> <pre><code>for i in {1..3};do curl http://192.168.1.134/xxxxxx -I;done </code></pre> <p>2# 修改各节点的配置文件<br /> (1)brok...
51工具盒子
<p>1# 1分钟内连续发送错误请求 5 次</p> <pre><code>for i in {1..3};do curl http://192.168.1.134/xxxxxx -I;done </code></pre> <p>2# 修改各节点的配置文件<br /> (1)brok...
<h1>'Execute shell' marked build as failure {#articleContentId}</h1> <h6>解决方案:</h6> <p>修改configure<br /> 执行shell命令中,添加:#!/bin/bash</p> <p...
[xshell](https://51tbox.com/ "View all posts in xshell") 跳转 xshell创建会话,从跳板机中直接跳转到指定的服务器 原文链接:https://blog.csdn.net/qq_33180069/article/details/113241519 ### 步骤: 1  查看 -》 快速命令  ### (2)双击空白 ![](http://stat...
<p>用shell判断cpu的使用率是否超过98%,如果超过90%获取cpu使用率最高的进程信息,如果不超过输出cpu使用率前十的进程信息</p> <p>/mnt/zzy/data/scripts/cpumonitor.sh</p> <pre><code>#!/bin/bash # 获取CPU使用率(注意这...