} hmm, I just noticed in the course of that that there is a counter for
} recieve multicast but not one for transmit. Most likely to convert to XML
} one might consider a directory as a tag ... maybe something like:
}
} <proc>
} <net>
} <dev>
} <interface>
} <eth0>
} <receive>
} bytes=21421
} packets=243
} ...
} </receive>
My guess is that `bytes' would be either another tag or an attribute of
`receive'. Perhaps this:
<proc>
<directory name="net">
<file name="dev">
<field name="interface">
<subfield name="eth0"/>
</field>
<field name="receive">
<subfield name="bytes" value="21421"/>
</field>
</file>
</directory>
</proc>
The major problem with doing config files in XML (even going beyond /proc
files into things like /etc/passwd, etc.) is that you get into
`political' debates. Everyone needs to agree on a standard naming/usage
convention.
Not an easy thing.
-- || Bill Wendling wendling@ganymede.isdn.uiuc.edu- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/