<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>You can't assign multiple processes to a single PID 
(as it is a process ID and therefore unique).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You also cannot really start multiple servers in 
the same screen. However, if all he wants to do is kill multiplke processes he 
can use:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; killall -9 
mohaa_lnxded</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If the servers are just being run as themselves 
or</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; killall -9 screen</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If the servers are running under screen. 
Personally, I have a script which checks to see if the server is running every 
60 seconds and starts it if it isn't. This is run under screen so when you do 
"killall -9 mohaa_lnxded" it kills all the moh processes, which then restart 
after 60 seconds (handy for adding new maps or changing mods)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV>&nbsp;</DIV>
<DIV>Josh<BR></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=greensha@rogers.com href="mailto:greensha@rogers.com">Shaun Green</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=mohaa@icculus.org 
  href="mailto:mohaa@icculus.org">mohaa@icculus.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, August 22, 2003 1:41 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [mohaa] mohaa and pid's</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Not really sure what the actual purpose of this 
  is but Im trying to help someone out.&nbsp;&nbsp; Question&nbsp;asked, <FONT 
  face="Times New Roman" size=3>Any way to assign a pid to multiple mohaa 
  servers under linux?&nbsp; From what i can understand im guessing he wants to 
  kill all instance's at the same time for whatever reason not really 
  sure.&nbsp; </FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Could you use the screen command and script to 
  start all the mohaa servers and when needed just kill the screen process to 
  end all mohaa servers.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>