VMware Cloud Community
mahen12
Contributor
Contributor

How to configure two network interface card?

Hi all ,

I have two NIC card in my system ,NIC-1,NIC-2. Now I need only NIC-2's bytesrecv / bytessent   data.

Please let me know how get selected NIC data ?

I get the NIC information from below API.

String[] list = sigar.getNetInterfaceList();

NetInterfaceConfig ifc = sigar.getNetInterfaceConfig(list[n]);

Thanks

0 Kudos
0 Replies