|
|
| Do you know where your variables are? | |
| PerlMonks |
working with pid'sby djw (Vicar) |
| on Sep 18, 2000 at 12:14 UTC ( [id://32940]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.djw has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl program that is starting multiple quake3 servers. They are all running on different ports and can be recognized by what game type they are running (eg. capture the flag, or teamplay). How would I use the perl program to recognize specific pid's of each game? I may want to stop/kill the Capture the Flag server for example, but leave the teamplay one alone. You would get something like this: Could I have the pid's written to files in /var/run/quake3 for example? Maybe I could use file names like: ctf.pid, tourney.pid etc. to seperate them? Any ideas on how that is done? Using Linux. Thanks, djw
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||