This script shows list of most recently logged users (with login time and hostnames), recent logins of selected user (with login time and hostnames) and much more.
It stores information in SQL database, so it is very easy to customize output to one's taste.
The idea is based on ioACTIVE script... thanks, Fuscao
Sampe output:
PHP Code:
command: site activity
200-username last login time host total logins
200----------- ------------------- ----------------------- ------------
200-esmandil2 2004-10-27 22:55:57 hostname1.net.se 10
200-esmandil 2004-10-27 22:01:49 hostname2.net.se 6
200-user1 2004-10-27 22:01:46 hostname3.net.se 6
200-user3 2004-10-27 19:55:47 hostname4.net.se 7
200-user2 2004-10-27 17:54:49 hostname5.net.se 4
200-user4 2004-10-27 17:43:19 hostname6.net.se 3
200-user5 2004-10-27 16:09:24 hostname7.net.se 1
200 Command successful.
command: site activity 2
200-username last login time host total logins
200----------- ------------------- ----------------------- ------------
200-esmandil2 2004-10-27 22:55:57 hostname1.net.se 10
200-esmandil 2004-10-27 22:01:49 hostname2.net.se 6
200 Command successful.
command: site useractiv esmandil
200-username login time host
200----------- ------------------- -------------------
200-esmandil 2004-10-27 22:01:49 hostname7.net.se
200-esmandil 2004-10-27 21:12:58 hostname7.net.se
200-esmandil 2004-10-27 01:45:30 hostname2.net.se
200-esmandil 2004-10-26 19:45:07 hostname2.net.se
200-esmandil 2004-10-26 19:45:04 hostname1.net.se
200 Command successful.
command: site myactivity
200-username login time host
200----------- ------------------- -----------------------
200-esmandil2 2004-10-27 22:55:57 hostname2.net.se
200-esmandil2 2004-10-27 22:40:01 hostname4.net.se
200-esmandil2 2004-10-27 21:12:35 hostname5.net.se
200-esmandil2 2004-10-27 20:52:39 hostname1.net.se
200-esmandil2 2004-10-27 01:45:39 hostname1.net.se
200 Command successful.
Download:
http://www.ioftpd.com/scripts/script.php?id=147