java.lang.Object
oshi.driver.unix.Who
@ThreadSafe
public final class Who
extends java.lang.Object
Utility to query logged in users.
-
Method Summary
Modifier and Type |
Method |
Description |
static java.util.List<OSSession> |
queryWho() |
Query who to get logged in users
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
public static java.util.List<OSSession> queryWho()
Query who
to get logged in users
- Returns:
- A list of logged in user sessions