Mike Chanslor wrote:
Gurus,
Have Sun T2000 with Solaris10 U7 and hundreds of user process. Someone is
making queries(about two a second from snooping...)
Globally I am trying to find gethostbyname
$ dtrace -n syscall:::gethostbyname'{...@[execname] = count()}'
dtrace: invalid probe specifier syscall:::gethostbyna...@[execname] = count()}:
probe description syscall:::gethostbyname does not match any probes
$ dtrace -n syscall::gethostbyname:entry'{...@[execname] = count()}'
dtrace: invalid probe specifier syscall::gethostbyname:ent...@[execname] =
count()}: probe description syscall::gethostbyname:entry does not match any
probes
gethostbyname is a library call, not a system call; you can trace library
calls with the pid provider, but sadly that only works as a per-process
basis, so you can't just replace "syscall" with "pid..." above and be done.
I can't help much more, but maybe focussing on the network tools can gain
you some more knowledge here.
HTH
Michael
--
Michael Schuster http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org