Try "screen -r cs -X quit" and "screen -wipe" afterwards.

Regards,

  ShinyDoofy
> Sorry for the slightly OT, but I know many admins as I use this with
> hlds.  I am trying to figure out how to send a command to an already
> running screen session.  This is covered by the -X option:
>
>         -X   Send the specified command to a running screen session.
>              <snip>
>
> I can't for the life of me figure out the syntax for this.  All I want
> to do is cron an "exit" due to long standing memory leaks in hlds.  I
> have -autoupdate called in my start up so this is all I need to do the
> restart.
>
> %screen -r
> There are several suitable screens on:
>          220.cs  (Attached)
>          238.ice (Detached)
>
> This (obviously) doesn't work:
> %screen -X exit -d cs
>
> I just get a list of screen sessions as if only doing a -r.
>
> --
> - m0gely
> http://quake2.telestream.com/
> Q2 | Q3A | Counter-strike
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to