Package oshi.util

Class LsofUtil

java.lang.Object
oshi.util.LsofUtil

public class LsofUtil
extends java.lang.Object
Reads from lsof into a map
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<java.lang.Integer,​java.lang.String> getCwdMap​(int pid)
    getCwdMap.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getCwdMap

      public static java.util.Map<java.lang.Integer,​java.lang.String> getCwdMap​(int pid)

      getCwdMap.

      Parameters:
      pid - a int.
      Returns:
      a Map object.