* What does ru_inblock of an rusage struct specify?
@ 1999-07-27 4:00 Karl
0 siblings, 0 replies; only message in thread
From: Karl @ 1999-07-27 4:00 UTC (permalink / raw)
(This is in on a Digital Unix OSF1 v4.0 - alpha)
The function getrusage() returns an rusage structure that, among other
things, contains a member called ru_inblock. The Digital man page says
ru_inblock is a count of the number of input block operations performed
by the calling process.
My questions:
1. What exactly is an "input block operation" in this context?
2. Does this number (i.e., the number of input block operations)
correspond
to the traditional idea of a block ( the usual 512 or 1024 byte thing)?
For
example, if my program only does a single 5120 byte fread() from disk,
will
ru_inblock equal 10?
By the way, on a Sun system, the man page says:
ru_inblock The number of times the file system
had to perform input in servicing a read(2)
request.
- Karl
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-27 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-27 4:00 What does ru_inblock of an rusage struct specify? Karl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox