Jump to content


Click the link below to see the new game I'm developing!


vth

Member Since 26 Apr 2005
Offline Last Active Mar 29 2012 07:43 PM
-----

Posts I've Made

In Topic: logout all users like @timeout does for one user

28 January 2008 - 01:08 PM

Thanks Rob,

I will stay with:

/bin/ps -ef | /bin/egrep bin | /bin/egrep pro | /bin/egrep -v "egrep" | /bin/awk '{print $2}' | /usr/bin/xargs -i{} -t kill {}

to logout the users.

I notice though that if a user is logged in using ssh instead of stunnel the process is a almost a zombie in that anything less than a kill -9 the process stays until the user tries to use their session an then it terminates. That user I have found does not hold any resources for proiv or postgresql

Click the link below to see the new game I'm developing!