Forum Discussion
Brian_Thompson
Nimbostratus
May 21, 2009Calculating Hits per Second for each Virtual Server
Is there a way for a given time period, lets say 24hrs, 1hr, to calculate hits per second for each virtual server?
I'm trying to figure out which particular virtual server is causing my http requests/second graph to increase so much, but unfortunately the statistics pages that come with the F5 do not allow you to select time periods
- hoolio
Cirrostratus
You can view the stats from the command line using 'b virtual all stats'. You can run 'b virtual all stats reset' from the command line and then check back in whatever interval you want. If you want to do this programmatically, you could create a shell script which writes out the stats to a file and then clears them. You could call this script from the crontab every X minutes/hours/days. - The_Bhattman
Nimbostratus
Or if you have $ you can purchase an off the shelf product like Packeteer or Cisco NAM (if you have Cisco 6500) that the F5 attaches off of. Both of these products are a bit more polished and can provide you bytes in/out, packets in/out. They can drill down beyond layer 7. Of course there are other free tools like Cacti or something similiar. - Brian_Thompson
Nimbostratus
yeah, I thought about resetting them and just using cron, I'll try that - JRahm
Admin
if you want more hands off approach, you could use Cacti or similar. All the data is stored in rrdtool files, so you can check your virtuals in relation to each other as far back as you configure the rrd's to store data.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects