Messages in this thread | | | From | Eric.Schenk@dna ... | Subject | Re: procfs problems | Date | Fri, 18 Apr 1997 13:31:26 +0200 |
| |
Dan Hollis <goemon@sasami.anime.net> writes: >I think this is bogus. > >/proc/stat, /proc/uptime, /proc/net/icmp, /proc/net/snmp, >/proc/sys/vm/bdflush, etc are all obviously not for human consumption.
Hmm, I might be weird, but I look at the raw /proc/net/snmp files quite often for debugging purposes. Shrug.
In any case, for what it's worth, sysctl is a nice programmatic interface which is immune to the addition of new fields, and saves you the trouble of parsing.
-- Eric Schenk www: http://www.dna.lth.se/~erics Dept. of Comp. Sci., Lund University email: Eric.Schenk@dna.lth.se Box 118, S-221 00 LUND, Sweden fax: +46-46 13 10 21 ph: +46-46 222 96 38
| |