Someone asked me how to use webshells today. It looks quite simple, but some people may not know it, so I wrote it wrong.
I hope you can correct it.
Instructions for use:
Webbench-C 5-T 120 http ://ABCD. Com/index. php
-C indicates the number of concurrent clients to be simulated, and-T indicates the concurrency time.
The HTTP prefix must be added. Otherwise, the test fails.
If the domain name is used, the domain name must have the last slash. For example, webbench-C 5-T 120 http ://ABCD. Com/
[Root @ netnic bin] #./webbench-C 100-T 5 http://www.sina.com/
Webbench-simple web benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL open source software.
Benchmarking: Get http://www.sina.com/
100 clients, running 5 sec.
Speed = 3588 pages/min, 36152 Bytes/sec.
Requests: 299 susceed, 0 failed.
In the preceding operation, 100 clients are simulated to run for 5 seconds to access the Sina homepage. 299 requests are sent, of which 299 are successful and 0 are failed.
Therefore, the speed is 3588 times per minute (299*60/5, forwarding seconds to minutes), and the number of request bytes is 36152 bytes per second.