lkml.org 
[lkml]   [1997]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: procfs problems
Date

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



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.090 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site