在aix上通过sigar获取网络状态信息的时候,在调用getNetStat方法的时候报如下异常,大神们给看看:
org.hyperic.sigar.SigarFileNotFoundException: A file or directory in the path name does not exist.
at org.hyperic.sigar.NetStat.stat(Native Method) ~[cloudwise-os-1.0.3.jar:na]
at org.hyperic.sigar.NetStat.stat(NetStat.java:37) ~[cloudwise-os-1.0.3.jar:na]
at org.hyperic.sigar.Sigar.getNetStat(Sigar.java:794) ~[cloudwise-os-1.0.3.jar:na]
at com.cloudwise.plugin.os.processor.TcpProcessor.getMetricMsgInfo(TcpProcessor.java:63) ~[cloudwise-os-1.0.3.jar:na]
at com.cloudwise.plugin.os.OsMonitorThread.collcetHostMetricInfo(OsMonitorThread.java:96) [cloudwise-os-1.0.3.jar:na]
at com.cloudwise.plugin.base.AbstractMonitorThread.run(AbstractMonitorThread.java:44) [cloudwise-os-1.0.3.jar:na]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0]