On 11/25/10 05:57, Jasper Lievisse Adriaanse wrote:
Hi,
Currently the 'mbufs' view of systat only shows the difference of livelocks,
this diff also adds the actual total (or sum). This is info most people are
actually looking for anyway (as noticed by kettenis and sthen yesterday).
It is interesting that claudio@ made it display differences about 3
weeks ago. It was displaying absolute values before.
I am not 100% happy with the diff. Some systat views have a mode where
you can display the absolute and difference values. At present, this
works for 'if' and 'vmstat' views. It is not yet documented after the
rewrite (although it was present in the original systat as well).
The modes are selected by the 'r', 'b', 't' and 'z' keys. 'r' is for
RUN, the values start from zero, and accumulated (pressing 'z' zeroes
the values again). In TIME ('t') mode, they are cleared at every 'tick',
showing the differences. In BOOT mode ('b') the values since system boot
are shown.
Perhaps it makes more sense to have this documented, and added to other
views. It is probably better than adding a separate column for different
interpretations of the same value.
Can