We have a lab setup where there are a lot of MS Windows based PC's that people access remotely to do various tasks. For the log in, we primarily use MS Windows "Remote Desktop Connection" and within Unix, "rdesktop". We've been having problems with people having to guess which systems may be available and which ones are taken when deciding which system to log into. I'd like to create a webpage that people could look at, ideally in Linux.
Does anyone know a method - ideally a Linux scriptable method - that could be used to check which systems have users logged in, and which ones do not currently have a user? Ideally, I'd love a way to check if there is a user on a system and how long it's been since they did anything (idle time) so that if all systems are taken, I can make a judgement about which user to boot off.
I spent a while searching on Google, and on Anandtech, and I couldn't find out anything.
Does anyone know a method - ideally a Linux scriptable method - that could be used to check which systems have users logged in, and which ones do not currently have a user? Ideally, I'd love a way to check if there is a user on a system and how long it's been since they did anything (idle time) so that if all systems are taken, I can make a judgement about which user to boot off.
I spent a while searching on Google, and on Anandtech, and I couldn't find out anything.