[Bugme-new] [Bug 13543] New: weird behavior of /proc/net/dev

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Jun 15 03:36:53 PDT 2009


http://bugzilla.kernel.org/show_bug.cgi?id=13543

           Summary: weird behavior of /proc/net/dev
           Product: Other
           Version: 2.5
    Kernel Version: <= 2.6.30
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Configuration
        AssignedTo: other_configuration at kernel-bugs.osdl.org
        ReportedBy: aleritty+kernel at gmail.com
        Regression: No


If you cat /proc/net/dev you can see:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes   
packets errs drop fifo colls carrier compressed
    lo:     300       6    0    0    0     0          0         0      300     
 6    0    0    0     0       0          0
 wlan0:38493170   47282    0    0    0     0          0         0  8228940  
45380    0    0    0     0       0          0

That in the "lo:" line there is a space between "lo:" and the rx bytes count,
but if you exceed an amount of data exchanged, like the "wlan0:" line, this
space disappears.
This can cause troubles when trying to automatically extract data from this
file.

I experienced this bug on Fedora, mandriva, debian & Ubuntu.
Actually i am using 2.6.30 vanilla, and this weird behavior is still here.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list