Messages in this thread | | | Date | Sun, 22 Oct 2000 21:33:17 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: Request for info on proc system update frequency |
| |
On Wed, Oct 18, 2000 at 04:48:48PM +0100, Stephen Tweedie wrote: > On Tue, Oct 17, 2000 at 12:31:24AM -0400, John Kacur wrote: > > I'm trying to understand how the proc file system works. In particular > > I'd like to know more about the algorithm by which the information is > > updated and how frequently. > > It is "live": the file contents are generated on demand when you read > them. A very few proc files include time-averaged data (such as the > load average); everything else is absolutely uptodate.
...at the instant you read it. It may be out of date a nanosecond later. [Yes, a nit-pick, but worth making clear to the original poster.]
J [unhandled content-type:application/pgp-signature] | |