Forum Discussion
Siddarth_84779
Nimbostratus
Apr 08, 2011hits on virtual server
Hi all,
I need to know the number of hits on each of the virtual servers in a month, is there any way to know that. Basically i am trying to find out the virtual sever with the maximunm hits in a month.
Any help would be appreciated.
Regards,
Siddarth.
3 Replies
- hoolio
Cirrostratus
Hi Siddarth,
In current versions, you could compare the output from 'b virtual' to see which virtual server had received the most connections.
The virtual server stats available via 'b virtual' or SNMP would be reset whenever the unit is restarted. A failover would also affect the stats as a new unit would be processing the request.
Aaron - Siddarth_84779
Nimbostratus
Thanks Aaron,
The data from 'b virtual' is same as that in statistics right. I need to collect the data for every month. As of now i am resetting the statistics in the beggining of the month and will check the data in the end of the month. Can we write any scripts to automate this.
Regareds,
Siddarth. - hoolio
Cirrostratus
You could write a script in perl or bash to write out the stats you want and reset them at the beginning of each month. You can call the scripts from cron following the steps in SOL8430
sol8430: Archive UCS files using the logrotate and crontab utilities
http://support.f5.com/kb/en-us/solutions/public/8000/400/sol8430.html
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
