Fwd: Any way to find the network usage by a process?

Frank Ch. Eigler fche@redhat.com
Fri Oct 6 15:30:00 GMT 2006


Mike Mason <mmlnx@us.ibm.com> writes:

> [...]
> >> The only way to avoid the error is use @sum only if @count > 0,
> >> which makes the printf too complex in my opinion.
> [...]

Actually, another way is to add a "<<< 0" dummy value to the
stats arrays in a new "probe begin", then to display @count()-1
and @sum() etc.

- FChE



More information about the Systemtap mailing list