Thread (14 messages) flat view 14 messages, 5 authors, 2017-01-22

Re: [PATCH iproute2 v4 0/4] update ifstat for new stats

From: Jiri Benc <hidden>
Date: 2017-01-12 15:32:36

On Thu, 12 Jan 2017 15:49:47 +0200, Nogah Frankel wrote:
Previously stats were gotten by RTM_GETLINK which returns 32 bits based
statistics. It supports only one type of stats.
Lately, a new method to get stats was added - RTM_GETSTATS. It supports
ability to choose stats type. The basic stats were changed from 32 bits
based to 64 bits based.

This patchset adds ifstat the ability to get extended stats by this
method. Its adds two types of extended stats:
64bits - the same as the "normal" stats but get the stats from the cpu
in 64 bits based struct.
cpu_hits - for packets that hit cpu.
Please add also documentation to the respective man pages.

 Jiri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help