From this question Statistics /proc/net/stat/nf_conntrack is missing on Linux server I recognized that /proc/net/stat/nf_conntrack
has an alternative conntrack -S
.
In /proc/net/stat/nf_conntrack there is NEW
counter, based on which the one can calculate CPS (connections per second) metric. But in conntrack -S
I see no such a counter.
How can I obtain the NEW
conntrack counter without /proc/net/stat/nf_conntrack
? Is there a way to obtain it from conntrack -S
?