vps交流

有没有简单的脚本查 VPS 硬件信息的


网上哪些一键好多都要 speedtest ,时间很是漫长
wget -qO- bench.sh | bash
neofetch

curl https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch | bash
或者你高兴的话安装一下 apt install neofetch

硬件信息不是都是第一时间显示的吗。
看完关了不行么
你要看什么信息,直接命令看得了,比如说看cpu就用lscpu命令
yabs提供跳过测试选项,可以-i选项就行了

  1. curl -sL yabs.sh | bash -s — -{fdighr49}
  2. * -f/-d this option disables the fio (disk performance) test
  3. * -i this option disables the iperf (network performance) test
  4. * -g this option disables the Geekbench (system performance) test
  5. * -h this option prints the help message with usage, flags detected, and local package (fio/iperf) status
  6. * -r this option reduces the number of iperf locations (Online.net/Clouvider LON+NYC) to lessen bandwidth usage
  7. * -4 this option overrides the Geekbench 5 performance test and runs a Geekbench 4 test instead
  8. * -9 this option runs the Geekbench 4 test in addition to the Geekbench 5 test
  9. Options can be grouped together to skip multiple tests, i.e. -fg to skip the disk and system performance tests (effectively only testing network performance).

复制代码

直接看不就得了
硬件信息先出来,speedtest在后面,影响不大