P is for Practical | |
PerlMonks |
Re^3: custom name to the processby Eimi Metamorphoumai (Deacon) |
on Dec 04, 2007 at 22:15 UTC ( [id://654973]=note: print w/replies, xml ) | Need Help?? |
Well, you can check the value of $0 and do different things with it. But probably the best solution is to use different parameters to ps. For instance, ps -fe will give you the parameters passed to each instance, which is probably a pretty good way of distinguishing your processes.
In Section
Seekers of Perl Wisdom
|
|