CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Problem this snippet solves:

This pyControl v2 script generates load against virtual servers with specified iRule and calculates TMM impact.

How to use this snippet:

Usage: iRuleStats.py < host> < username> < iRule> < URL>

Code :

./iRuleStats.py 10.10.20.5 admin timing_test http://10.10.20.50
Please enter your password:
Password:

Resetting Statistics for the timing_test iRule

Running load test to host http://10.10.20.50
### Raw Data ###
Event:  HTTP_REQUEST
        STATISTIC_RULE_AVERAGE_CYCLES = 41950
Event:  HTTP_RESPONSE
        STATISTIC_RULE_AVERAGE_CYCLES = 93347

### iRule timing_test Performance Results
        BIG-IP LTM 3600 has 3413568000 availabe CPU Cycles (2 cores, 2133.480 MHz)
        Average Cycles/sec:     135297
        CPU Utilization/req:    0.00396350680578 percent
        Max Requests/sec:       25230
Comments
vihu_133224
Nimbostratus
Nimbostratus

Hi Team,

 

Where is the python script ? Please let me know.

 

Version history
Last update:
‎09-Mar-2015 13:03
Updated by:
Contributors