Bug 197353
Summary: | /proc/net/dev columns don't line up | ||
---|---|---|---|
Product: | Networking | Reporter: | Dan Jacobson (jidanni) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | RESOLVED WILL_NOT_FIX | ||
Severity: | enhancement | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.13 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Dan Jacobson
2017-10-22 21:44:35 UTC
The file /proc/net/dev is really not intended for direct user consumption in modern Linux. The columns are printed with a printf format that was wide enough in the days of 32 bit systems (%8llu). With 64 bit systems the full width of a statistic can be bigger than 8. This can't be fixed because it might break existing apps that are parsing the output. |