vhiz wrote: > Hi All, > > I want to monitor the frequency of the socket buffer (receive) overflow > during a data transfer over UDP. > Is there a way to do this using dtrace or any other solaris tool? > > Thank you, > Vishal
If you're looking for the drops as a function of time, you could do something like this: # dtrace -n 'BEGIN{start=timestamp;} mib:::udpInOverflows{@ = lquantize((timestamp-start)/1000000000,0,10);}' That will generate a histogram of the number of overflows each second for the first 10 seconds that it runs (and puts all the rest into a ">10" bucket if run longer). Hit ^C to print the data. (It won't print anything, though, if no drops occur.) You can get a similar result with: % netstat -s -i 1 | grep udpInOverflows -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org