dhizodfhazd wrote:> could you tell me what is the type of the return here just to check
something, thx:
I''m sorry. I don''t understand your question. what
"return" are you
talking about, and which "here" are you referring to?
more comment inline:
[... ]
> /*
> * Save Data
> */
> mib:::icmpInEchos { ICMP_IE += arg0; }
is there any special reason why you''re not using an aggregation here:
@icmp_ie = sum(arg0); ?
> /*
> * Print Output
> */
> profile:::tick-1sec
> {
> printf("%d",
> ICMP_IE);
> /* clear values */
> ICMP_IE = 0;
you''d do a printa() and clear() (or was it trunc()? I always confuse
those two) instead -> see the DTrace guide
HTH
--
Michael Schuster Sun Microsystems, Inc.
recursion, n: see ''recursion''