"Wiggins d Anconia" <[EMAIL PROTECTED]> writes:

>> 
>> Hi All,
>>        Is there any way in perl i can search for the running
> application and its process id using perl. e.g. Let us suppose I know
> the name of the application as httpd<binary> Can i search in processes
> whether that application is running and what is its process id My
> problem is even if some file with name httpd exists It will show you
> that also which i want to avoid. Please help
>>  

[...]  maybe missing your point..  But if this is on unix/unixlike OS
and doesn't demand portablility, you could resort to a system or qx
call to `ps wwaux' if one of the bsd styles or whatever system V ps
-??? (not sure what it is)

But maybe thats not accessable


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to