After some time unclosed sessions fill all the memory on the server. It is hard 
to discipline users to always close sessions -they just close the client 
instead.

Is there any more elegant way of clearing all suspended sessions then the 
command I have here:

for f in `/usr/sbin/x2golistsessions_root |grep \|S\| | cut -c-5`; do /usr/
bin/x2goterminate-session "$f" && kill "$f";done

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
x2go-user mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-user

Reply via email to