Hi,
>> in kernel 2.2 : VS_PROC_FILE /proc/net/ip_masq/vs
>
>I don't have such file.
!? so you are running LVS on a kernel 2.4... this 2 files a directly readed
by ipvsadm utility to display LVS topology. On kernel 2.4 you can access 2
stats procfs files :
#define IPVS_PROC_FILE "/proc/net/ip_vs"
#define CONN_PROC_FILE "/proc/net/ip_vs_conn"
the first one is equivalent to kernel 2.2 file (/proc/net/ip_masq/vs), the
other can trace connection table using extended integer.
>If you want to script connections entries : consider using LVSGSP
>
>What is it doing?
jump to : http://linuxvirtualserver.org/~acassen/lvsgsp-sample/
this an example on howto use LVSGSP to display graphical LVS activity.
LVSGSP <=> LVS Graphical Stats Processor => a simple statistics injector
for common grpah tools such as MRTG & RRDTOOL.
regards,
Alexandre
|