Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 11:48:49 +0000
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        hackers@FreeBSD.ORG
Subject:   Getting PID of parent pipe?
Message-ID:  <36555721.8E3D2CDF@tdx.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

Is there an 'easy' way of getting the PID of a parent process feeding a
command's stdin?

e.g.

cat something | foo | bar

I need to get the PID of foo while running as bar...

-Kp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36555721.8E3D2CDF>