Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228332

Re: siger linker error in window -7

$
0
0

form below link,i have got the information it will work with

 

https://support.hyperic.com/display/SIGAR/Home

 

Windowsx86NT 4.0, 2000 Pro/Server, 2003 Server, XP, Vista, 2008 Server, 7
Windowsx642003 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


Viewing all articles
Browse latest Browse all 228332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>