云网牛站
所在位置:首页 > Linux常用命令大全 > 更多实用命令 > nstat命令

nstat命令

nstat是一个简单的监视内核的SNMP计数器和网络接口状态的实用工具。

参数

-h:显示帮助信息;
-V:显示指令版本信息;
-z:显示0计数器;
-r:清零历史统计;
-n:不显示任何内容,仅更新历史;
-a:显示计数器的绝对值;
-s:不更新历史;
-d:以守护进程的方式运行本指令。

实例

[root@localhost database]# nstat
#kernel

IpInReceives                    6851               0.0
IpInDelivers                    6811               0.0
IpOutRequests                   4537               0.0
TcpActiveOpens                  118                0.0
TcpEstabResets                  3                  0.0
TcpInSegs                       6709               0.0
TcpOutSegs                      4396               0.0
TcpRetransSegs                  106                0.0
TcpInErrs                       4                  0.0
UdpInDatagrams                  32                 0.0
UdpOutDatagrams                 32                 0.0
Ip6InReceives                   214                0.0
Ip6OutNoRoutes                  219                0.0
Ip6InMcastPkts                  214                0.0
Ip6InOctets                     31894              0.0
Ip6InMcastOctets                31894              0.0
TcpExtTW                        33                 0.0
TcpExtDelayedACKs               42                 0.0
TcpExtDelayedACKLost            36                 0.0
TcpExtTCPHPHits                 5327               0.0
TcpExtTCPPureAcks               295                0.0
TcpExtTCPHPAcks                 47                 0.0
TcpExtTCPLossUndo               4                  0.0
TcpExtTCPTimeouts               17                 0.0
TcpExtTCPDSACKOldSent           36                 0.0
TcpExtTCPDSACKRecv              3                  0.0
TcpExtTCPAbortOnTimeout         16                 0.0
TcpExtTCPSackShiftFallback      3                  0.0
TcpExtTCPChallengeACK           4                  0.0
TcpExtTCPSYNChallenge           4                  0.0
IpExtInMcastPkts                6                  0.0
IpExtOutMcastPkts               3                  0.0
IpExtInBcastPkts                64                 0.0
IpExtInOctets                   8859266            0.0
IpExtOutOctets                  422403             0.0
IpExtInMcastOctets              192                0.0
IpExtOutMcastOctets             96                 0.0
IpExtInBcastOctets              7096               0.0
相关命令