← Documents Documentation/ABI/testing/sysfs-class-net-statistics GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Network interface statistics sysfs ABI

Network interface의 collision·multicast, RX·TX byte와 packet, drop 및 MAC·FIFO·carrier·compression 관련 error counter를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-net-statistics
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

RX traffic, compression, and CRC

sysfs-class-net-statistics:17-42

수신 byte, compressed packet과 CRC/FCS error를 구분하며 driver와 MAC layer별 semantics 차이를 밝힙니다.

RX drops and processing errors

sysfs-class-net-statistics:44-88

Upper layer로 전달하지 못한 packet과 일반·FIFO·frame alignment·length error를 구분합니다.

RX capacity and good packets

sysfs-class-net-statistics:90-123

Receive capacity 부족, inactive device, configured size 초과와 정상 수신 packet counter를 설명합니다.

TX traffic and medium errors

sysfs-class-net-statistics:125-162

전송 중단, byte accounting, carrier error와 compressed packet counter를 제공합니다.

TX drops, errors, and packets

sysfs-class-net-statistics:164-217

전송 drop·일반 error·FIFO·heartbeat·window collision과 전체 전송 packet counter를 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/class/net/<iface>/statistics/collisions
2 Date: April 2005
3 KernelVersion: 2.6.12
5 Description:
6 Indicates the number of collisions seen by this network device.
7 This value might not be relevant with all MAC layers.
8
9 What: /sys/class/net/<iface>/statistics/multicast
10 Date: April 2005
11 KernelVersion: 2.6.12
13 Description:
14 Indicates the number of multicast packets received by this
15 network device.
16
17 What: /sys/class/net/<iface>/statistics/rx_bytes
18 Date: April 2005
19 KernelVersion: 2.6.12
21 Description:
22 Indicates the number of bytes received by this network device.
23 See the network driver for the exact meaning of when this
24 value is incremented.
25
26 What: /sys/class/net/<iface>/statistics/rx_compressed
27 Date: April 2005
28 KernelVersion: 2.6.12
30 Description:
31 Indicates the number of compressed packets received by this
32 network device. This value might only be relevant for interfaces
33 that support packet compression (e.g: PPP).
34
35 What: /sys/class/net/<iface>/statistics/rx_crc_errors
36 Date: April 2005
37 KernelVersion: 2.6.12
39 Description:
40 Indicates the number of packets received with a CRC (FCS) error
41 by this network device. Note that the specific meaning might
42 depend on the MAC layer used by the interface.
43
44 What: /sys/class/net/<iface>/statistics/rx_dropped
45 Date: April 2005
46 KernelVersion: 2.6.12
48 Description:
49 Indicates the number of packets received by the network device
50 but dropped, that are not forwarded to the upper layers for
51 packet processing. See the network driver for the exact
52 meaning of this value.
53
54 What: /sys/class/net/<iface>/statistics/rx_errors
55 Date: April 2005
56 KernelVersion: 2.6.12
58 Description:
59 Indicates the number of receive errors on this network device.
60 See the network driver for the exact meaning of this value.
61
62 What: /sys/class/net/<iface>/statistics/rx_fifo_errors
63 Date: April 2005
64 KernelVersion: 2.6.12
66 Description:
67 Indicates the number of receive FIFO errors seen by this
68 network device. See the network driver for the exact
69 meaning of this value.
70
71 What: /sys/class/net/<iface>/statistics/rx_frame_errors
72 Date: April 2005
73 KernelVersion: 2.6.12
75 Description:
76 Indicates the number of received frames with error, such as
77 alignment errors. Note that the specific meaning depends on
78 on the MAC layer protocol used. See the network driver for
79 the exact meaning of this value.
80
81 What: /sys/class/net/<iface>/statistics/rx_length_errors
82 Date: April 2005
83 KernelVersion: 2.6.12
85 Description:
86 Indicates the number of received error packet with a length
87 error, oversized or undersized. See the network driver for the
88 exact meaning of this value.
89
90 What: /sys/class/net/<iface>/statistics/rx_missed_errors
91 Date: April 2005
92 KernelVersion: 2.6.12
94 Description:
95 Indicates the number of received packets that have been missed
96 due to lack of capacity in the receive side. See the network
97 driver for the exact meaning of this value.
98
99 What: /sys/class/net/<iface>/statistics/rx_nohandler
100 Date: February 2016
101 KernelVersion: 4.6
103 Description:
104 Indicates the number of received packets that were dropped on
105 an inactive device by the network core.
106
107 What: /sys/class/net/<iface>/statistics/rx_over_errors
108 Date: April 2005
109 KernelVersion: 2.6.12
111 Description:
112 Indicates the number of received packets that are oversized
113 compared to what the network device is configured to accept
114 (e.g: larger than MTU). See the network driver for the exact
115 meaning of this value.
116
117 What: /sys/class/net/<iface>/statistics/rx_packets
118 Date: April 2005
119 KernelVersion: 2.6.12
121 Description:
122 Indicates the total number of good packets received by this
123 network device.
124
125 What: /sys/class/net/<iface>/statistics/tx_aborted_errors
126 Date: April 2005
127 KernelVersion: 2.6.12
129 Description:
130 Indicates the number of packets that have been aborted
131 during transmission by a network device (e.g: because of
132 a medium collision). See the network driver for the exact
133 meaning of this value.
134
135 What: /sys/class/net/<iface>/statistics/tx_bytes
136 Date: April 2005
137 KernelVersion: 2.6.12
139 Description:
140 Indicates the number of bytes transmitted by a network
141 device. See the network driver for the exact meaning of this
142 value, in particular whether this accounts for all successfully
143 transmitted packets or all packets that have been queued for
144 transmission.
145
146 What: /sys/class/net/<iface>/statistics/tx_carrier_errors
147 Date: April 2005
148 KernelVersion: 2.6.12
150 Description:
151 Indicates the number of packets that could not be transmitted
152 because of carrier errors (e.g: physical link down). See the
153 network driver for the exact meaning of this value.
154
155 What: /sys/class/net/<iface>/statistics/tx_compressed
156 Date: April 2005
157 KernelVersion: 2.6.12
159 Description:
160 Indicates the number of transmitted compressed packets. Note
161 this might only be relevant for devices that support
162 compression (e.g: PPP).
163
164 What: /sys/class/net/<iface>/statistics/tx_dropped
165 Date: April 2005
166 KernelVersion: 2.6.12
168 Description:
169 Indicates the number of packets dropped during transmission.
170 See the driver for the exact reasons as to why the packets were
171 dropped.
172
173 What: /sys/class/net/<iface>/statistics/tx_errors
174 Date: April 2005
175 KernelVersion: 2.6.12
177 Description:
178 Indicates the number of packets in error during transmission by
179 a network device. See the driver for the exact reasons as to
180 why the packets were dropped.
181
182 What: /sys/class/net/<iface>/statistics/tx_fifo_errors
183 Date: April 2005
184 KernelVersion: 2.6.12
186 Description:
187 Indicates the number of packets having caused a transmit
188 FIFO error. See the driver for the exact reasons as to why the
189 packets were dropped.
190
191 What: /sys/class/net/<iface>/statistics/tx_heartbeat_errors
192 Date: April 2005
193 KernelVersion: 2.6.12
195 Description:
196 Indicates the number of packets transmitted that have been
197 reported as heartbeat errors. See the driver for the exact
198 reasons as to why the packets were dropped.
199
200 What: /sys/class/net/<iface>/statistics/tx_packets
201 Date: April 2005
202 KernelVersion: 2.6.12
204 Description:
205 Indicates the number of packets transmitted by a network
206 device. See the driver for whether this reports the number of all
207 attempted or successful transmissions.
208
209 What: /sys/class/net/<iface>/statistics/tx_window_errors
210 Date: April 2005
211 KernelVersion: 2.6.12
213 Description:
214 Indicates the number of packets not successfully transmitted
215 due to a window collision. The specific meaning depends on the
216 MAC layer used. On Ethernet this is usually used to report
217 late collisions errors.
218

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Observed collisions

1-7
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/collisions
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 관찰한 collision 수를 나타냅니다. 이 값은 모든 MAC layer에서 관련성이 있지는 않을 수 있습니다.

Received multicast packets

9-15
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/multicast
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 수신한 multicast packet 수를 나타냅니다.
Link and multicast counters
Counter누적 대상해석 제한
collisions관찰된 collision모든 MAC layer에 관련되지는 않을 수 있음
multicast수신 multicast packetNetwork device별 누적

MAC collision과 multicast reception은 서로 다른 traffic 특성을 셉니다.

Received bytes

17-24
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_bytes
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 수신한 byte 수를 나타냅니다. 이 값이 정확히 언제 증가하는지는 network driver를 참조하십시오.

Received compressed packets

26-33
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_compressed
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 수신한 compressed packet 수를 나타냅니다. Packet compression을 지원하는 interface, 예를 들어 PPP에서만 관련성이 있을 수 있습니다.

RX CRC or FCS errors

35-42
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_crc_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 CRC(FCS) error와 함께 수신한 packet 수를 나타냅니다. 구체적인 의미는 interface가 사용하는 MAC layer에 따라 달라질 수 있습니다.

RX packets dropped before upper layers

44-52
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_dropped
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device가 수신했지만 drop하여 packet processing을 위해 upper layer로 forward하지 않은 packet 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Receive errors

54-60
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device의 receive error 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Receive FIFO errors

62-69
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_fifo_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 관찰한 receive FIFO error 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Receive frame errors

71-79
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_frame_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionAlignment error처럼 error가 있는 상태로 수신한 frame 수를 나타냅니다. 구체적인 의미는 사용하는 MAC layer protocol에 따라 달라집니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Receive length errors

81-88
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_length_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description길이가 너무 크거나 너무 작아 length error가 있는 상태로 수신한 error packet 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Receive capacity misses

90-97
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_missed_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionReceive 측 capacity 부족으로 놓친 수신 packet 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Inactive-device receive drops

99-105
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_nohandler
Date2016년 2월
KernelVersion4.6
Contact[email protected]
DescriptionInactive device에서 network core가 drop한 수신 packet 수를 나타냅니다.

Oversized receive packets

107-115
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_over_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device가 accept하도록 구성한 크기보다 큰 수신 packet, 예를 들어 MTU보다 큰 packet 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Good received packets

117-123
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/rx_packets
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description이 network device가 수신한 정상 packet의 전체 수를 나타냅니다.
Receive statistics taxonomy
분류Counter누적 대상
Trafficrx_bytes, rx_packets, multicast수신 byte, 정상 packet, multicast packet
Compressionrx_compressedCompressed packet을 지원하는 interface
Integrityrx_crc_errors, rx_frame_errors, rx_length_errorsCRC/FCS, alignment, size error
Processingrx_dropped, rx_errors, rx_fifo_errorsUpper-layer 전달 실패와 receive/FIFO error
Capacity/staterx_missed_errors, rx_nohandler, rx_over_errorsCapacity 부족, inactive device, configured size 초과

RX counter를 traffic, drop, data integrity와 capacity 원인으로 구분합니다.

Aborted transmissions

125-133
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_aborted_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device가 전송 중 중단한 packet 수를 나타냅니다. 예를 들면 medium collision 때문에 중단될 수 있습니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Transmitted bytes

135-144
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_bytes
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device가 전송한 byte 수를 나타냅니다. 정확한 의미, 특히 성공적으로 전송한 모든 packet을 세는지 또는 전송을 위해 queue한 모든 packet을 세는지는 network driver를 참조하십시오.
Driver-dependent accounting points
CounterDriver에서 확인할 사항
rx_bytes수신 pipeline의 어느 시점에서 증가하는가
tx_bytes성공한 packet만 세는가, queue한 packet도 세는가
tx_packets시도한 전송 전체인가, 성공한 전송만인가

Byte와 packet counter의 증가 시점은 driver 구현을 확인해야 합니다.

Transmit carrier errors

146-153
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_carrier_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionPhysical link down 같은 carrier error 때문에 전송할 수 없었던 packet 수를 나타냅니다. 이 값의 정확한 의미는 network driver를 참조하십시오.

Transmitted compressed packets

155-162
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_compressed
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description전송한 compressed packet 수를 나타냅니다. Compression을 지원하는 device, 예를 들어 PPP에서만 관련성이 있을 수 있습니다.

Packets dropped during transmission

164-171
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_dropped
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description전송 중 drop된 packet 수를 나타냅니다. Packet이 drop된 정확한 이유는 driver를 참조하십시오.

Transmit packet errors

173-180
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device의 전송 중 error가 발생한 packet 수를 나타냅니다. Packet이 drop된 정확한 이유는 driver를 참조하십시오.

Transmit FIFO errors

182-189
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_fifo_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionTransmit FIFO error를 일으킨 packet 수를 나타냅니다. Packet이 drop된 정확한 이유는 driver를 참조하십시오.

Transmit heartbeat errors

191-198
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_heartbeat_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
Description전송되었지만 heartbeat error로 보고된 packet 수를 나타냅니다. Packet이 drop된 정확한 이유는 driver를 참조하십시오.

Transmitted packets

200-207
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_packets
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionNetwork device가 전송한 packet 수를 나타냅니다. 시도한 모든 전송을 보고하는지 성공한 전송만 보고하는지는 driver를 참조하십시오.

Window collision errors

209-217
항목한국어 전문 번역
What/sys/class/net/<iface>/statistics/tx_window_errors
Date2005년 4월
KernelVersion2.6.12
Contact[email protected]
DescriptionWindow collision 때문에 성공적으로 전송하지 못한 packet 수를 나타냅니다. 구체적인 의미는 사용하는 MAC layer에 따라 달라집니다. Ethernet에서는 대개 late collision error를 보고하는 데 사용합니다.
Transmit statistics taxonomy
분류Counter대표 원인 또는 범위
Traffictx_bytes, tx_packets전송 byte와 packet, accounting 시점은 driver 의존
Drop/generaltx_dropped, tx_errors전송 중 drop 또는 error
Medium/linktx_aborted_errors, tx_carrier_errors, tx_window_errorsCollision, link down, late collision
Queuetx_fifo_errorsTransmit FIFO error
Protocol-specifictx_compressed, tx_heartbeat_errorsCompression 지원 device와 heartbeat error

TX counter를 traffic과 medium, queue, protocol-specific error로 구분합니다.