When I wrote Superspeed before, someone asked me to integrate it into the bench.sh script of the teddysun boss. I didn't have much time to do it at that time, and I couldn't directly copy what they wrote. I spent some time doing it today and went to check it. For the relevant Linux commands, I found that the basic commands for obtaining parameters are the same. I can’t change any tricks, so I lazily referred to bench.sh and changed a copy. After a while, I finished it and tested it. It's no big deal, just let it go.
renew
- Added Virt detection server type parameters, common openvz, kvm, and dedicated servers can be detected
- Added dedicated server power-on time detection.
- Fix, the speedtest delay is ethereal, and the ethereal delay is uniformly changed to 000.000 ms
- Modify the I/O test block size
- Uniform characters are in English to solve the problem of garbled characters
OpenVZ
Sqm
Dedicated server
1. Features
- The display mode has been improved, the basic parameters have been added with colors, and aspects are distinguished and searched.
- The I/O test has changed the content of the original default test, using small files, medium files, and large files to test the IO performance separately, and then take the average.
- The speed test is replaced by the test in Superspeed. The first default node is Speedtest by default, and the others are respectively tested to the speed of China Telecom, China Unicom, China Mobile, and three different regions.
2. How to use
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
or
curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
3. Demonstration diagram
4. Download address
https://github.com/oooldking/script/blob/master/superbench.sh
Copyright statement: This article is an original article, and the copyright belongs to oldking . Welcome to share this article, and please keep the source for reprinting!