jik@athena.mit.edu (Jonathan I. Kamens) (05/25/90)
In article <5893@tekgen.BV.TEK.COM>, arleneh@puffin.USS.TEK.COM (Arlene D. Hills) writes: |> I have a system with both unibus and massbus drives, and I'm trying to |> get iostat (and also vmstat) to yield information on the unibus drives. |> |> Per the man pages on iostat and vmstat, I should be able to supply a device |> name on the command line that will force reporting of that particular |> device. This does not seem to be the case. I have included the following |> script file which illustrates my point. The header file sys/h/dk.h defines the constant DK_NDRIVE, which determines how many drives the kernel is going to keep statistics on. When the kernel configures itself upon reboot, it starts keeping track of statistics on the first DK_NDRIVE drives it spots, and doesn't keep any statistics at all about the others -- there's no way to display the other statistics, because the kernel doesn't keep them. On our system, DK_NDRIVE is set to 4, and it's probably also set to 4 on your system, which means you aren't going to be able to display any statistics for anything but the first four drives. In 4.3-tahoe, on the other hand, it's been bumped up to 8. You can probably solve your problem by changing the constant enough to be as big as the number of drives you have, and recompiling your kernel. (I must confess that I didn't just have this information at the tip of my tongue when I saw your question -- I asked someone else here (jfc@athena.mit.edu) who pointed me in the right direction.). Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8495 Home: 617-782-0710