[lvs-users] how to get ActiveConn value
Suchada Pakapongpan
cooky_th at hotmail.com
Fri Nov 12 11:38:41 GMT 2010
# ipvsadm -L -n
> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.1:80 wlc
-> 192.168.1.2:80 Route 1 50 1005
-> 192.168.1.3:80 Route 1 67 1580
-> 192.168.1.4:80 Route 1 39 1358
-> 192.168.1.5:80 Route 1 70 1877
-> 192.168.1.6:80 Route 1 59 1333
-> 192.168.1.7:80 Route 1 49 1477
In my LVS has many real server ip address (RIP) and I'd like to get ActiveConn value of some RIP to calculate.
I'd like to know how ipvsadm to get only ActiveConn value by identifying RIP x.x.x.x ?
Ex: I put RIP=192.168.1.2 and it return 1005 to me
(I try lot of ipvsadm options, but didn't work.)
or which file that contain that value?
Thank you in advance,
Cooky
More information about the lvs-users
mailing list