Looking at the code, there isn't a mechanism to send a command to a specific fork from the parent.
I can put in a request to see if a "send <fork> <cmd>" type command can be implemented. But my guess is that if the netcon port on the fork is not responding, then this command would not respond either. Most likely the fork is hung so the main loop is not running. This would stop all forms of communication from working. I guess, a command to kill a child would also be useful (e.g "kill <fork>". This would save you the problem of having to locate the fork using external commands. I'll see if I can get someone to add this in. M. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eric Riemers Sent: Monday, December 27, 2010 11:53 AM To: 'Half-Life dedicated Linux server mailing list' Subject: Re: [hlds_linux] l4d2 forks control? I was hoping for a netcon way to do it, since I rather not hand out ssh access. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Milton Ngan Sent: maandag 27 december 2010 20:04 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] l4d2 forks control? Use "netstat -nlp" to find the process number of the fork by looking for the netcon/rcon port that it is listening on. Kill that process and that will send a SIGCHLD to the parent fork, which will cause it to respawn. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eric Riemers Sent: Monday, December 27, 2010 6:25 AM To: Half-Life dedicated Linux server mailing list Subject: [hlds_linux] l4d2 forks control? All, I've got l4d2 running with multiple forks, i know you can use the netcon port to do a broadcast so you can issue a command on all servers. But if 1 fork is down, and i cant reach that fork through the normal port to issue a quit. Can i use a command via netcon to restart that particular fork? Tried looking on google, but so far most where just examples on how to use forks with startups. Thanks, Eric _______________________________________________ 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 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

