Class Who

java.lang.Object
oshi.driver.unix.Who

@ThreadSafe public final class Who extends Object
Utility to query logged in users.
  • Method Details

    • queryWho

      public static List<OSSession> queryWho()
      Query who to get logged in users
      Returns:
      A list of logged in user sessions