12 2021 档案
摘要:VM间的网络PPS能力测试一般采用netperf/iperf或ntttcp这些工具实现。监控端一般采用nmon和nload这些工具。 1 pps测试 这个测试中采用netperf ,netperf的安装如下: wget https://github.com/vtrocelab/./netperf-2
阅读全文
摘要:Azure上有多种获取Access Token的方式,这里介绍通过rest api获取service principal的token,和通过azure cli获取用户token的方法。 一 获取token 1 通过rest api的方式获取service principal的access token
阅读全文
摘要:记录时延采用Ping和SockPerf,分别采用下面的Bash命令记录到相关的文件中: ping 10.2.1.5 -i 15 | while read pong; do echo "$(date): $pong" >> ping.txt; done & while true; \ do sockp
阅读全文
摘要:一 关闭复制多行提示 Windows Terminal在复制多行的时候每次都会有提示,我们可以通过更改配置关闭这个提示。 在配置中点击"打开JSON文件": 添加: "multiLinePasteWarning": false, 二 关闭提示音 在Windows Terminal中,经常出现提示音,
阅读全文
摘要:一 安装hping步骤 mkdir -p /usr/local/hping && cd /usr/local/hping wget https://github.com/antirez/hping/archive/master.zip && unzip master.zip && cd hping-
阅读全文