Is it possible to trace the routing socket messages going from the kernel to a particular daemon

2006-08-17 Thread Shriek
Is it possible that we can add some loadable module into the kernel to get a pid of a daemon-process and then somehow trace routing socket messages coming in / going out from the kernel to that particular daemon ? The thing why I am in need of this is that there are two daemons , one daemon is

Re: Is it possible to trace the routing socket messages going from the kernel to a particular daemon

2006-08-17 Thread Joseph Koshy
get a pid of a daemon-process and then somehow trace routing socket messages coming in / going out from the kernel to that particular daemon ? `ktrace -p DAEMON-PID` might be what you want. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy

Re: Is it possible to trace the routing socket messages going from the kernel to a particular daemon

2006-08-17 Thread Robert Watson
On Thu, 17 Aug 2006, Shriek wrote: Is it possible that we can add some loadable module into the kernel to get a pid of a daemon-process and then somehow trace routing socket messages coming in / going out from the kernel to that particular daemon ? The thing why I am in need of this is that