diff options
author | Yang Yang <yang.yang29@zte.com.cn> | 2022-12-09 14:21:53 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-01-02 16:28:24 -0700 |
commit | 8b0a211d3181b71c78e3e696d0caa7f0edb4ed02 (patch) | |
tree | 5c85031bfce60023af1badbfaa642f62ac9039fd /Documentation/filesystems/proc.rst | |
parent | 078bdea856bf533f3163eeb0870e22a717f4eaa7 (diff) | |
download | lwn-8b0a211d3181b71c78e3e696d0caa7f0edb4ed02.tar.gz lwn-8b0a211d3181b71c78e3e696d0caa7f0edb4ed02.zip |
docs: proc.rst: add softnet_stat to /proc/net table
/proc/net/softnet_stat exists for a long time, but proc.rst miss it.
Softnet_stat shows some statistics of struct softnet_data of online
CPUs. Struct softnet_data manages incoming and output packets
on per-CPU queues. Note that fastroute and cpu_collision in
softnet_stat are obsolete and their value is always 0.
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Reviewed-by: xu xin <xu.xin16@zte.com.cn>
Reviewed-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Link: https://lore.kernel.org/r/202212091421536982085@zte.com.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/filesystems/proc.rst')
-rw-r--r-- | Documentation/filesystems/proc.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index e224b6d5b642..9d5fd9424e8b 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -1284,6 +1284,7 @@ support this. Table 1-9 lists the files and their meaning. rt_cache Routing cache snmp SNMP data sockstat Socket statistics + softnet_stat Per-CPU incoming packets queues statistics of online CPUs tcp TCP sockets udp UDP sockets unix UNIX domain sockets |