mirror of https://git.48k.eu/ogclient
Detect user login and logout for Linux and Windows. Report an active interactive session through the /refresh response so a new ogserver instance can update the session status. Poll the session change in 5 second intervals in a thread. Use the same event socket previously used by the old session detection mechanism to notify a session change. Use the method check_interactive_session_change in each ogOperations.py to report the session status. Return values: None: no session changes are found True: login False: logout Windows Verify if psutil.users() has any value. Linux Verify all the psutil.users() asociated to a terminal. |
||
---|---|---|
.. | ||
linux | ||
live | ||
utils | ||
virtual | ||
windows | ||
__init__.py | ||
log.py | ||
ogClient.py | ||
ogRest.py | ||
restRequest.py |