Messages in this thread | | | From | "Jeffrey Noll" <> | Subject | Re: Q: Gathering I/O stats per device and NFS stats | Date | Mon, 23 Mar 1998 20:36:04 -0500 |
| |
---------- > From: Rik van Riel <H.H.vanRiel@fys.ruu.nl> > To: Jeffrey Noll <jeffnoll@javanet.com> > Subject: Re: Q: Gathering I/O stats per device and NFS stats > Date: Monday, March 23, 1998 3:00 PM > > On Sun, 22 Mar 1998, Jeffrey Noll wrote: > > > What i'm looking to gather in some way are the following: > > Disk I/O requests per device: ie: total read requests for sda1, sda2, > > hda1, etc. > > Disk transfers per device > > NFS read/write requests > > NFS transfers > > > > I've looked all over /proc and couldnt find a way and i've done some > > source searching > > $ cat /proc/stat > > cpu 13123 479164 5105 21073 > disk 24889 7576 0 0 > disk_rio 21386 4136 0 0 > disk_wio 3503 3440 0 0 > disk_rblk 42952 8272 0 0 > disk_wblk 7378 6880 0 0 > page 111788 15524 > swap 30 172 > intr 602558 518465 13292 0 7 20 8 0 0 0 12392 0 9701 0 1 48670 2 > ctxt 133295 > btime 890677934 > processes 2024 > > The files disk_* will tell you everything you need. > The [rw]blk lines tell the number of transferred blocks, > while the [rw]io tell the number of requests. > > Rik. > +-------------------------------------------+--------------------------+ > | Linux: - LinuxHQ MM-patches page | Scouting webmaster | > | - kswapd ask-him & complain-to guy | Vries cubscout leader | > | http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> | > +-------------------------------------------+--------------------------+ >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |