Hello,

I just found out I need to write a script to kill users who have been idle
for 20 mintues within an application that accesses client data. I only need
to kill them from the part of the application that will access the client
data; I first thought of using the 'who' command and getting the idle time,
but then I realized that if a user is running a job, said user will still
come up as idle that way, because the user will have no keyboard input.

So, there must be a better way to find who should be killed, one that I am
not aware of? If there are no better commands to use, then I can just find
out what all the processes would be that would access the client data and
cull those out for killing, but I'm interested in finding out if there is a
better way. I've looked around a bit and haven't found anything yet.

Thanks for anyone with input!