This articles describes the tools and functionality available for viewing different user activity statistics.
Administrators can view the Last Login information for all user accounts on the Users tab in swadmin2.
Administrators can get a clear, real-time count of active connections and actively used licenses on the Logged on tab.
The tab is read-only and displays the following:
Username: User name
Name: Name displayed in SystemWeaver
E-mail: Email address (optional)
Active: Account status
Connected: Displays the login time stamp for the specific user session (row). If the user keeps the session up, the time stamp will remain unchanged. If they log out and back in, it will update to the new login time stamp. If multiple sessions are active for the same user account, they will all share the same login time stamp.
IP: IP address from which the connection is made
Computer: Alias name for computer from which the connection is made
User: Computer system user name
Client: Client application used for connection
Connection: Provides additional information helpful for Administrators:
- For connections that have been disabled due to multiple logins from different IP addresses, a "Disabled" message will display. The entry (row) and message will continue to display until the client is closed out (e.g., via the Logout button or Xing out of the client).
- If MIrror Servers are running, the Write channels will be identified in this column.
Last call: indicates the last time the server received a call from the client.
Mirror: indicates a mirror server connection.
Open connections: Number of Tcp connections to the server. Note that if a mirror server(s) is running, the connections will be included in this count.
Active read/write licenses: Number of successful connections currently utilizing a read/write license
Active viewer licenses: Number of successful connections currently utilizing a read-only license
Clicking Refresh will update the page.
Unsuccessful Authentication Attempts
Connections that do not successfully log in have not authenticated. These connections may appear as shown below with only an IP address and no Last call time stamp. Typically, they will not remain displayed. To clear them, click Refresh. Alternatively, perform a server restart.
Administrators can obtain additional statistics for specific user operations as well as login counts. The statistics are captured in a Statistics log file, if the Server Administrator has configured this option. To find out more about which operations are captured and how to visualize the statistics, see Working with the Statistics Log.
In the below Logged on example, there are:
- 3 client sessions ("stacey.klein" logged in with swAdmin2 client, "jim.smith" logged in with swArchitect client, and "debby.clark" (read-only user) logged in with the swExplorer client to the mirror server
- 1 mirror server with 1 read channel and 5 write channels
The above example in the statistics log:
If setting up something like ELK is too much, and you are only interested in obtaining, e.g., highest concurrent logins over a period of time, one could also just open a copy of the log in Notepad++ and search for all occurrences of LoginCount. Then from there, copy the search results and work with the data in MS Excel, or some other tool, if the data is too large for MS Excel. In the below example, 14 was the highest concurrent r/w licenses count: