The first thing which comes to my mind is to write a background
script, which will call the command every N seconds, grep it (if
necessary) and write the output to the file.
- -
HUB
2011/4/18 Suchada Pakapongpan <cooky_th@xxxxxxxxxxx>:
>
> Hi,
>
> I'd like to know, is it possible to get the number of active connection of
> each real server in the past? (Is there any resolution way?)
> Does LVS store the log file that has any information about the number of
> active connection of each real server at any time?
>
> # ipvsadm -L -n
> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 192.168.1.1:80 wlc
> 192.168.1.2:80 Route 1 50 (this value) 1005
> 192.168.1.3:80 Route 1 67 (this value) 1580
>
> Thanks,
>
> Cooky
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|