Created
March 30, 2015 03:49
-
-
Save chikatambun/5a1d6d7c7d3e94c973b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select count(*) from radacct where TimeStop is NULL; | |
+----------+ | |
| count(*) | | |
+----------+ | |
| 47318 | | |
+----------+ | |
1 row in set (0.04 sec) | |
mysql> select distinct username from radacct where TimeStop is NULL; | |
... | |
| bromo | | |
| argopuro | | |
| arjuno | | |
+--------------------------+ | |
39 rows in set (0.98 sec) | |
mysql> update radacct set TimeStop=NOW() where TimeStop is NULL; | |
Query OK, 0 rows affected (0.00 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment