[lvs-users] Is it possible to get the number of active connection of each real server in the past?

HUB Netsky net.for.hub at gmail.com
Mon Apr 18 14:53:04 BST 2011


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 at hotmail.com>:
>
> 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 at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>




More information about the lvs-users mailing list