Yesterday we added the remote access ioc (RACCESS) uid channels to the DAQ so they can be trended.
I have written a progam called who_is_logged_in which takes any gpstime format and lists who was logged into CDS remotely at that time.
The epoch for these channels is noon Tue 10 Sept 2024.
Example:
who_is_logged_in "17:00 yesterday"
Who is logged remotely into CDS on Tue Sep 10 17:00:00 2024 PDT
cdsssh Number of users 5
cdsssh elenna.capote (1 session)
cdsssh erik.vonreis (1 session)
cdsssh ezekiel.dohmen (1 session)
cdsssh gerardo.moreno (1 session)
cdsssh louis.dartez (2 sessions)
cdslogin Number of users 1
cdslogin david.barker (1 session)
The code uses minute trend data, so you will get the login list rounded to the minute.
If you ask for who is logged in now, it defaults to 10 minutes ago because minute trend data is not immediately available, e.g.
who_is_logged_in now
Who is logged remotely into CDS on Wed Sep 11 13:32:16 2024 PDT
cdsssh Number of users 7
cdsssh elenna.capote (1 session)
cdsssh erik.vonreis (1 session)
cdsssh ezekiel.dohmen (1 session)
cdsssh gerardo.moreno (1 session)
cdsssh jim.warner (1 session)
cdsssh louis.dartez (2 sessions)
cdsssh tyler.guidry (1 session)
cdslogin Number of users 2
cdslogin david.barker (1 session)
cdslogin root (1 session)