30 lines
691 B
Markdown
30 lines
691 B
Markdown
|
|
To see a list of clients connecting to your EDEX server, use the `edex users [YYYYMMDD]` command, where `YYYYMMDD` is the optional date string.
|
|
|
|
edex users
|
|
|
|
-- EDEX Users 20160826 --
|
|
user@101.253.20.225
|
|
user@192.168.1.67
|
|
awips@0.0.0.0
|
|
awips@sdsmt.edu
|
|
...
|
|
|
|
|
|
|
|
# Logging Daily EDEX Users
|
|
|
|
Create a short script to run once daily at 20 minutes after 00 UTC, appending each day's `edex users` list to a logfile `/home/awips/edex-users.log`.
|
|
|
|
|
|
1. `vi ~/edexUsers.sh`
|
|
|
|
#!/bin/bash
|
|
/awips2/tools/bin/edex users >> /home/awips/edex-users.log
|
|
|
|
2. `crontab -e`
|
|
|
|
0 20 * * * /home/awips/edexUsers.sh 1>> /dev/null 2>&1
|
|
|
|
|
|
|