VMware vSphere

 View Only
  • 1.  Bypass HostName Lookup In NetStat

    Posted Jul 22, 2011 07:12 PM
    I have found that on Linux (Ubuntu 32 and 64), the org.hyperic.sigar.cmd.Netstat command and org.hyperic.sigar.Sigar.getNetConnectionList(int flags) can run quite slowly.

    Not surprising since when I run netstat -ap in bash, it also returns quite slowly.

    On the other hand, if I run netstat -apn which disables hostname lookup, it runs almost instantaneously.

    Can you add this option (where applicable) into Sigar ?

    Thanks.
    //Nicholas


  • 2.  RE: Bypass HostName Lookup In NetStat

    Posted Aug 03, 2011 04:35 AM
    I have been experiencing the same problem before. I also would like to know about how we can trick the hostname so it still enable in our server