There are many SNMP counters in the kernel that it increments in different situations, and I want to get the current values ββon my system. I found nstat , but this does not show all counters (even with the -z option). For example, I want to see the value "XfrmInStateSeqError", which increases in net / xfrm / xfrm_input.c:
if (async && x->repl->check(x, skb, seq)) { XFRM_INC_STATS(net, LINUX_MIB_XFRMINSTATESEQERROR); goto drop_unlock; }
This system uses Ubuntu 12.04 under the control of the kernel 3.2.0.
source share