form below link,i have got the information it will work with
https://support.hyperic.com/display/SIGAR/Home
Windows | x86 | NT 4.0, 2000 Pro/Server, 2003 Server, XP, Vista, 2008 Server, 7 | ![]() |
Windows | x64 | 2003 Server, Vista, 2008 Server, 7 |
it also working with JMeter with window-7.
by, the way i am trying very small things ,
public class TestClass {
private static final Logger log = LoggingManager.getLoggerForClass();
private final SigarProxy sigar;
public TestClass() throws IOException {
sigar = SigarProxyCache.newInstance(new Sigar(), 500);
}
public void init()
{
try
{
String[] list = sigar.getNetInterfaceList();
for (int n = 0; n < list.length; n++)
{
NetInterfaceConfig ifc = sigar.getNetInterfaceConfig(list[n]);
log.info("Network interface: iface=" + ifc.getName() + " addr=" + ifc.getAddress() + " type=" + ifc.getType());
}
} catch (SigarException e) {
log.debug("Can't get network info", e);
}
}
}
Message was edited by: mahen12