hits 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.

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

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.

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

Aaron