人妖在线一区,国产日韩欧美一区二区综合在线,国产啪精品视频网站免费,欧美内射深插日本少妇

新聞動態(tài)

Linux系統(tǒng)下查看網(wǎng)絡(luò)接口數(shù)據(jù)信息的命令總結(jié)

發(fā)布日期:2022-01-30 15:59 | 文章來源:腳本之家

監(jiān)視網(wǎng)絡(luò)接口TCP狀態(tài)信息數(shù)據(jù)有多種工具或命令。下面舉例一些:
nstat命令

復(fù)制代碼
代碼如下:

# nstat
#kernel
IpInReceives 97331040.0
IpInDelivers 97331020.0
IpOutRequests 90585930.0
IcmpInErrors 21470.0
IcmpInCsumErrors 11430.0
IcmpInDestUnreachs 20.0
IcmpInTimeExcds 13610.0
IcmpInParmProbs 56 0.0
IcmpInRedirects 10.0
IcmpInEchoReps701 0.0
IcmpInTimestamps 26 0.0
IcmpOutErrors 750 0.0
IcmpOutTimeExcds 23 0.0
IcmpOutEchoReps 26 0.0
IcmpOutTimestamps701 0.0
IcmpMsgInType026 0.0
IcmpMsgInType313610.0
IcmpMsgInType410.0
IcmpMsgInType8701 0.0
IcmpMsgInType11 56 0.0
IcmpMsgOutType0 701 0.0
IcmpMsgOutType3 23 0.0
IcmpMsgOutType8 26 0.0
TcpActiveOpens678940 0.0
TcpPassiveOpens 910289 0.0
TcpAttemptFails 58018 0.0
TcpEstabResets14608 0.0
TcpInSegs 96865180.0
TcpOutSegs 90382880.0
TcpRetransSegs67000.0
TcpInErrs 47 0.0
TcpOutRsts 67249 0.0
UdpInDatagrams44409 0.0
UdpNoPorts 23 0.0
UdpOutDatagrams 44441 0.0
Ip6InReceives 60.0
Ip6InNoRoutes 60.0
Ip6OutRequests90.0
Ip6OutNoRoutes39480.0
Ip6OutMcastPkts 14 0.0
Ip6InOctets432 0.0
Ip6OutOctets 612 0.0
Ip6OutMcastOctets992 0.0
Ip6InNoECTPkts60.0
Icmp6OutMsgs 90.0
Icmp6OutRouterSolicits 30.0
Icmp6OutNeighborSolicits 10.0
Icmp6OutMLDv2Reports50.0
Icmp6OutType133 30.0
Icmp6OutType135 10.0
Icmp6OutType143 50.0
TcpExtSyncookiesFailed 140 0.0
TcpExtEmbryonicRsts 704 0.0
TcpExtPruneCalled23 0.0
TcpExtTW615681 0.0
TcpExtPAWSEstab 20 0.0
TcpExtDelayedACKs52123 0.0
TcpExtDelayedACKLocked 44 0.0
TcpExtDelayedACKLost15180.0
TcpExtListenDrops32 0.0
TcpExtTCPPrequeued 19258 0.0
TcpExtTCPDirectCopyFromBacklog 45185 0.0
TcpExtTCPDirectCopyFromPrequeue 394312 0.0
TcpExtTCPHPHits 943072 0.0
TcpExtTCPHPHitsToUser 34780.0
TcpExtTCPPureAcks32426250.0
TcpExtTCPHPAcks 547259 0.0
TcpExtTCPSackRecovery 650 0.0
TcpExtTCPFACKReorder10.0
TcpExtTCPSACKReorder80.0
TcpExtTCPTSReorder 23 0.0
TcpExtTCPFullUndo10.0
TcpExtTCPPartialUndo23 0.0
TcpExtTCPDSACKUndo 10.0
TcpExtTCPLossUndo854 0.0
TcpExtTCPLostRetransmit162 0.0
TcpExtTCPSackFailures 135 0.0
TcpExtTCPLossFailures 18 0.0
TcpExtTCPFastRetrans15170.0
TcpExtTCPForwardRetrans104 0.0
TcpExtTCPSlowStartRetrans 172 0.0
TcpExtTCPTimeouts27640.0
TcpExtTCPLossProbes 52010.0
TcpExtTCPLossProbeRecovery28580.0
TcpExtTCPSackRecoveryFail 74 0.0
TcpExtTCPRcvCollapsed 460 0.0
TcpExtTCPDSACKOldSent 16450.0
TcpExtTCPDSACKOfoSent 21 0.0
TcpExtTCPDSACKRecv 879 0.0
TcpExtTCPAbortOnData43140.0
TcpExtTCPAbortOnClose 346 0.0
TcpExtTCPAbortOnTimeout186 0.0
TcpExtTCPDSACKIgnoredNoUndo 615 0.0
TcpExtTCPSpuriousRTOs 95 0.0
TcpExtTCPSackShifted402 0.0
TcpExtTCPSackMerged 20480.0
TcpExtTCPSackShiftFallback25920.0
TcpExtTCPRcvCoalesce145162 0.0
TcpExtTCPOFOQueue36672 0.0
TcpExtTCPOFOMerge21 0.0
TcpExtTCPChallengeACK 329 0.0
TcpExtTCPSYNChallenge 47 0.0
IpExtInNoRoutes 20.0
IpExtInOctets 15686282670.0
IpExtOutOctets11585263750.0
IpExtInNoECTPkts 98281300.0
IpExtInECT0Pkts 10 0.0
IpExtInCEPkts 30.0

ss命令

復(fù)制代碼
代碼如下:

# ss -s
Total: 319 (kernel 752)
TCP:187 (estab 114, closed 58, orphaned 0, synrecv 0, timewait 58/0), ports 0

Transport Total IP IPv6
*752 --
RAW 000
UDP 321
TCP 129 113 16
INET132 115 17
FRAG000

netstat命令

復(fù)制代碼
代碼如下:

# netstat -i
Kernel Interface table
IfaceMTU MetRX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 9001 0219491600 0 1424609000 BMRU
lo 65536 0767059800 0 7670598000 LRU</p> <p># netstat -s
Ip:
9743496 total packets received
0 forwarded
0 incoming packets discarded
9743494 incoming packets delivered
9068146 requests sent out
Icmp:
2147 ICMP messages received
1143 input ICMP message failed.
InCsumErrors: 2
ICMP input histogram:
destination unreachable: 1361
timeout in transit: 56
source quenches: 1
echo requests: 701
echo replies: 26
750 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 23
echo request: 26
echo replies: 701
IcmpMsg:
InType0: 26
InType3: 1361
InType4: 1
InType8: 701
InType11: 56
OutType0: 701
OutType3: 23
OutType8: 26
Tcp:
679665 active connections openings
911387 passive connection openings
58018 failed connection attempts
14608 connection resets received
118 connections established
9696894 segments received
9047825 segments send out
6700 segments retransmited
47 bad segments received.
67249 resets sent
Udp:
44425 packets received
23 packets to unknown port received.
0 packet receive errors
44457 packets sent
UdpLite:
TcpExt:
140 invalid SYN cookies received
704 resets received for embryonic SYN_RECV sockets
23 packets pruned from receive queue because of socket buffer overrun
616402 TCP sockets finished time wait in fast timer
20 packets rejects in established connections because of timestamp
52124 delayed acks sent
45 delayed acks further delayed because of locked socket
Quick ack mode was activated 1519 times
32 SYNs to LISTEN sockets dropped
19258 packets directly queued to recvmsg prequeue.
45185 bytes directly in process context from backlog
394312 bytes directly received in process context from prequeue
943942 packet headers predicted
3478 packets header predicted and directly queued to user
3246338 acknowledgments not containing data payload received
547737 predicted acknowledgments
650 times recovered from packet loss by selective acknowledgements
Detected reordering 1 times using FACK
Detected reordering 8 times using SACK
Detected reordering 23 times using time stamp
1 congestion windows fully recovered without slow start
23 congestion windows partially recovered using Hoe heuristic
1 congestion windows recovered without slow start by DSACK
854 congestion windows recovered without slow start after partial ack
TCPLostRetransmit: 162
135 timeouts after SACK recovery
18 timeouts in loss state
1517 fast retransmits
104 forward retransmits
172 retransmits in slow start
2764 other TCP timeouts
TCPLossProbes: 5202
TCPLossProbeRecovery: 2859
74 SACK retransmits failed
460 packets collapsed in receive queue due to low socket buffer
1646 DSACKs sent for old packets
21 DSACKs sent for out of order packets
879 DSACKs received
4314 connections reset due to unexpected data
346 connections reset due to early user close
186 connections aborted due to timeout
TCPDSACKIgnoredNoUndo: 615
TCPSpuriousRTOs: 95
TCPSackShifted: 402
TCPSackMerged: 2048
TCPSackShiftFallback: 2592
TCPRcvCoalesce: 145187
TCPOFOQueue: 36673
TCPOFOMerge: 21
TCPChallengeACK: 329
TCPSYNChallenge: 47
IpExt:
InNoRoutes: 2
InOctets: 1570012766
OutOctets: 1159491497
InNoECTPkts: 9838700
InECT0Pkts: 10
InCEPkts: 3

ip命令

復(fù)制代碼
代碼如下:

# ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
883395575 7672258 0 0 0 0
TX: bytes packets errors dropped carrier collsns
883395575 7672258 0 0 0 0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 02:7a:7d:d2:f7:21 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
694754381 2197268 0 0 0 0
TX: bytes packets errors dropped carrier collsns
296980409 1425257 0 0 0 0

sar命令

復(fù)制代碼
代碼如下:

# sar -n DEV 1
Linux 3.13.0-48-generic (beta) 2015年08月17日 _x86_64_ (4 CPU)

14時46分54秒 IFACErxpck/stxpck/s rxkB/s txkB/srxcmp/stxcmp/s rxmcst/s%ifutil
14時46分55秒eth0 12.005.000.971.180.000.000.000.00
14時46分55秒 lo 10.00 10.001.001.000.000.000.000.00

14時46分55秒 IFACErxpck/stxpck/s rxkB/s txkB/srxcmp/stxcmp/s rxmcst/s%ifutil
14時46分56秒eth01.001.000.050.470.000.000.000.00
14時46分56秒 lo 16.00 16.002.172.170.000.000.000.00

14時46分56秒 IFACErxpck/stxpck/s rxkB/s txkB/srxcmp/stxcmp/s rxmcst/s%ifutil
14時46分57秒eth05.003.000.260.610.000.000.000.00
14時46分57秒 lo 10.00 10.001.001.000.000.000.000.00

還有其它工具如nload,iftop等等,不一一列舉了。

美國快速服務(wù)器

版權(quán)聲明:本站文章來源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請保持原文完整并注明來源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非www.sddonglingsh.com所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來,僅供學(xué)習(xí)參考,不代表本站立場,如有內(nèi)容涉嫌侵權(quán),請聯(lián)系alex-e#qq.com處理。

實(shí)時開通

自選配置、實(shí)時開通

免備案

全球線路精選!

全天候客戶服務(wù)

7x24全年不間斷在線

專屬顧問服務(wù)

1對1客戶咨詢顧問

在線
客服

在線客服:7*24小時在線

客服
熱線

400-630-3752
7*24小時客服服務(wù)熱線

關(guān)注
微信

關(guān)注官方微信
頂部