Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TimeLimit="1"
- # declare directry and file name to store results returned by openload tool
- OutcomeLocation="/home/grzesag/OpenLoad/openload_output.txt"
- # declare url of website you want to monitor
- URL="www.example.com"
- date >> $OutcomeLocation
- openload -l $TimeLimit $URL >> $OutcomeLocation 2>&1
- This is what is saved into file:
- Total TPS: 0.00
- Avg. Response time: 0.000 sec.
- Max Response time: 0.000 sec
- Total Requests: 0
- Total Errors: 0
- But should be something like this
- Clients: 5
- Time Limit: 5 sec.
- MaTps 12.95, Tps 12.95, Resp Time 0.367, Err 0%, Count 13
- MaTps 13.97, Tps 23.21, Resp Time 0.207, Err 0%, Count 38
- MaTps 15.26, Tps 26.82, Resp Time 0.151, Err 0%, Count 66
- MaTps 15.98, Tps 22.48, Resp Time 0.144, Err 0%, Count 91
- Total TPS: 18.18
- Avg. Response time: 0.195 sec.
- Max Response time: 0.765 sec
- Total Requests: 91
- Total Errors: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement