Thanks a lot for this. I've wanted a way for my shut down script to send shutdown warnings to my server. I figured there had to be a way, but I couldn't figure it out last time I took a stab at it. :)
Cheers, Drek David A. Parker wrote: > You can send commands to a running screen like so: > > screen -S myscreen -X eval 'stuff stats\015' > > This would send "stats" followed by a return (\r) to the screen named > "myscreen". You'll see it on the console if you attach to myscreen > afterward. I don't know of a way to capture the output on a screen, though. > > - Dave > > Joseph Laws wrote: > >> I imagine that would still be logged. >> >> Marcel wrote: >> >>> Is there a way to store the actual "screen" in a variable or text file? >>> >>> It would be cool to "send" a command like "stats" to the screen and get >>> the output of it. Where the first "problem" would be to automatically >>> attach to the screen, enter command, detach the screen and then get the >>> content of the screen. This sould be done by a bash script. >>> This way you'd be able to generate nice mrtg graphs about fps etc. >>> *without* the rcon password and without logging of the access. >>> >>> >>> - Marcel >>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

