[X2Go-User] terminating suspended sessions
Sebastian T.
dpbasti at wp.pl
Sat Oct 22 21:39:05 CEST 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20161022/d5e419c9/attachment.pgp>
More information about the x2go-user
mailing list