how to tell what ran what

Glenn McCalley techlist at bnetmd.net
Wed Feb 15 07:07:22 PST 2006


Hi there,
Is there a way to find out -which- -process- calls another process?
OK, for instance, I know that user "userid" called sendmail 3 times because
sa or lastcomm or whatever tells me so, but what -program- issued the call.
Something like:

user            called        called from
nobody    sendmail    /usr/local/apache/cgi-bin/<program>

Failed attempts would be nice to know as well.

Thanks!
Glenn.





More information about the freebsd-questions mailing list