Difference between revisions of "Number devices.system.sessionCount"
Jump to navigation
Jump to search
(Založena nová stránka s textem „{{DISPLAYTITLE:number devices.system.sessionCount}} Returns the number of active sessions (administrative connections to the socket). <b>The property is re…“) |
(No difference)
|
Revision as of 01:03, 16 April 2017
Returns the number of active sessions (administrative connections to the socket). The property is read only!
number devices.system.sessionCount
Value
number number of active sessions
Usage
-- report if someone else logged to the socket if devices.system.sessionCount>1 then local message = string.format("Timestamp: %d", os.time()) mail("admin@netio.eu", "Socket s0312 compromised!", message) end