下面的脚本可以直接测试,I/O,网络.
第一个是通用脚本,主要测试国外网络
wget -qO- bench.sh | bash curl -sL https://raw.githubusercontent.com/nodeloc/scripts/main/bench.sh|bash --
第二个测试VPS到中国的网络速度
wget -qO- https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash bash <(curl -Lso- https://bench.im/hyperspeed)
第三个测试解锁网站
wget -O- https://raw.githubusercontent.com/LemonBench/LemonBench/master/LemonBench.sh| bash -s fast wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.01/nf_2.01_linux_amd64 && chmod +x nf && clear && ./nf bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
第四个综合测试
wget -q route.f2k.pub -O route && bash route #回程路由线路检测 curl -sL yabs.sh | bash curl -sL yabs.sh | bash -s -- -ig # 只测试FIO硬盘性能 curl -sL yabs.sh | bash -s -- -fdg # 只测试网速 curl -sL yabs.sh | bash -s -- -fdi5 # 只测试Geekbench 5 #yabs备用地址 curl -sL https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash curl -sL https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash -s -- -ig # 只测试FIO硬盘性能 curl -sL https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash -s -- -fdg # 只测试网速 curl -sL https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash -s -- -fdi5 # 只测试Geekbench 5
第五个测试查看硬盘通电时间
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
内存超售检测
curl https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh | bash #curl -sSL https://raw.githubusercontent.com/ZengHuuu/disable_virtio_balloon/main/dvb.sh | bash echo 'blacklist virtio_balloon' > /etc/modprobe.d/blacklist-virtio-balloon.conf && update-initramfs -u echo 'blacklist virtio_balloon' > /etc/modprobe.d/blacklist-virtio-balloon.conf && dracut -f dracut -f #centos7重建initramfs
检测幽灵漏洞并关闭
yum install -y spectre-meltdown-checker spectre-meltdown-checker sed -i 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off spectre_v2=retpoline /g' /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
转载自互联网,个人收藏使用
此处评论已关闭