Daemon belongs to which package..

If i know a daemon and it is running.. How can i know that daemon belongs to which package?

to kick things off for you, look up pgrep & prstat

almost ideal
#find . <daemon>

I would do

# grep in.ftpd /var/sadm/install/contents
/usr/sbin/in.ftpd f none 0555 root bin 67024 63432 1103149350 SUNWftpu
/usr/share/man/sman1m/in.ftpd.1m f none 0444 bin bin 34693 32022 944774472 SUNWman
#

Anyone have a better way?

Thanks Perderabo...

If i have lost some contents of that file then How can i?

Any how thank you..

In that case, simulate such an occurance and show us what you see or get? w/o any "visibilty" its hard to advise on this:o

Ok.. Thanks a lot..

One of my friend asked that question..

Thank you