一、安装Docker-CE yum remove -y docker docker-client docker-client-latest docker-common docker-latest docker-lates…
NVMe SSD U.2 磁盘速度测试
使用微软提供的Diskspd实用程序 测试本地NVMe diskspd.exe -d60 -b4k -o1024 -t32 -L -Sh -r -w50 -W60 -c100G E:\test.dat 输出示例:读IOP…
Python:多线程端口扫描
#!/usr/bin/python3 # -*- coding: utf-8 -*- from socket import * import threading from time import sleep, ctime…
Python:通过SNMP协议获取华为交换机的ARP地址表
try: from pysnmp.entity.rfc3413.oneliner import cmdgen except Exception as e: print("You need to download pysn…
Python:获取华为交换机的ARP地址表
from napalm import get_network_driver from netaddr import IPNetwork, IPAddress import re import pandas as pd d…
Diskspd 磁盘性能基准测试工具
微软出品 Please check the Releases section on the project's GitHub page at https://aka.ms/diskspd to access the la…
用Python实现快速Ping一个IP网段地址
#!/usr/bin/python3 # -*- coding: utf-8 -*- import os import argparse import socket import struct import select…
python split 多个空格分隔
1、在字符串之间存在多个空格的时候,不按照一个空格来分隔,而是按照空白来分隔。 例如: # IP Address MAC Address VLAN ID Interface Aging Type arp = '''172…