R
Richard
I need to find the PID of a process running as an anonymous pipe, that is I
have this code
$fh = new FileHandle;
open($fh, "tail -f $filename |") or die ..........
I want to get the PID of the tail -f process when runing under linux, I
could do it by looking at the output of ps -fwu $userid | grep "tail -f
$filename", but that seems like over kill
Thanks.
Richard.
have this code
$fh = new FileHandle;
open($fh, "tail -f $filename |") or die ..........
I want to get the PID of the tail -f process when runing under linux, I
could do it by looking at the output of ps -fwu $userid | grep "tail -f
$filename", but that seems like over kill
Thanks.
Richard.