Class NetStatFFM

java.lang.Object
oshi.driver.mac.net.NetStatFFM

@ThreadSafe public final class NetStatFFM extends Object
Utility to query NetStat using FFM.
  • Method Details

    • queryIFdata

      public static Map<Integer, NetStatFFM.IFdata> queryIFdata(int index)
      Map data for network interfaces.
      Parameters:
      index - If positive, limit the map to only return data for this interface index. If negative, returns data for all indices.
      Returns:
      a map of NetStatFFM.IFdata object indexed by the interface index