Hello,
You can get per-service statistics by
ipvsadm -Ln --stats -t|u|f service-address
If you want to program to get statistics info, you can let your program to
use libipvs. It is easier to get into in this way.
Now the /proc/net/ip_vs_stats is for global stats.
Regards,
Wensong
On Tue, 20 Nov 2001, Cyril Bouthors wrote:
> Hello,
>
> I was used to easily graph the traffic per virtual service in IPVS
> thanks to /proc/net/ip_vs_stats and MRTG but it seems that the code in
> ip_vs_stats_get_info() that output the statistics for each service has
> been removed since 0.9.4 as announced on the mailing list [1].
>
> Those statistics were quite useful and I don't understand why they
> have been removed: nothing was said about that on the mailing
> list. Was it depreciated ? Was it buggy ? Is there another way to have
> the same stats ? The code will be put back again on a future release ?
>
> [1] : http://www.in-addr.de/pipermail/lvs-users/2001-September/003297.html
>
|