Advertisement
Guest User

grzesag

a guest
Mar 7th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TimeLimit="1"
  2.  
  3. # declare directry and file name to store results returned by openload tool
  4. OutcomeLocation="/home/grzesag/OpenLoad/openload_output.txt"
  5.  
  6. # declare url of website you want to monitor
  7. URL="www.example.com"
  8.  
  9. date >> $OutcomeLocation
  10. openload -l $TimeLimit $URL >> $OutcomeLocation 2>&1
  11.  
  12.  
  13. This is what is saved into file:
  14. Total TPS:   0.00
  15. Avg. Response time:  0.000 sec.
  16. Max Response time:   0.000 sec
  17. Total Requests:       0
  18. Total Errors:         0
  19.  
  20.  
  21. But should be something like this
  22. Clients: 5
  23. Time Limit: 5 sec.
  24. MaTps  12.95, Tps  12.95, Resp Time  0.367, Err   0%, Count    13
  25. MaTps  13.97, Tps  23.21, Resp Time  0.207, Err   0%, Count    38
  26. MaTps  15.26, Tps  26.82, Resp Time  0.151, Err   0%, Count    66
  27. MaTps  15.98, Tps  22.48, Resp Time  0.144, Err   0%, Count    91
  28. Total TPS:  18.18
  29. Avg. Response time:  0.195 sec.
  30. Max Response time:   0.765 sec
  31. Total Requests:      91
  32. Total Errors:         0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement