Re: user-space resource information...

2000-11-05 Thread Daniel C. Sobral
"Kenneth D. Merry" wrote: > ... > > That's vmstat's problem, not a feature. :-) ... > > If it's not vm-related, it shouldn't be listed by vmstat. > > Interrupts aren't vm-related either, yet vmstat displays them. And it shouldn't do so. See my first comment. :-) -- Daniel C. Sobral

Re: user-space resource information...

2000-11-05 Thread Kenneth D. Merry
On Sun, Nov 05, 2000 at 17:32:16 +0900, Daniel C. Sobral wrote: > "Kenneth D. Merry" wrote: > > > > I think vmstat(8) might be a better fit than iostat. vmstat already > > displays kernel memory usage (-m), interrupt usage (-i), paging stats (-s), > > and zone allocator stats (-z). > > That's v

Re: user-space resource information...

2000-11-05 Thread Daniel C. Sobral
"Kenneth D. Merry" wrote: > > I think vmstat(8) might be a better fit than iostat. vmstat already > displays kernel memory usage (-m), interrupt usage (-i), paging stats (-s), > and zone allocator stats (-z). That's vmstat's problem, not a feature. :-) That kind of thinking is what led to Linu

Re: user-space resource information...

2000-11-04 Thread Kenneth D. Merry
On Sat, Nov 04, 2000 at 11:52:35 -0800, Mike Smith wrote: > > I'm wondering if this should have its own program, rather than squat > > in on iostat ? > > Adding yet another program for such a trivial fragment of code seems > kinda silly. If/when someone uses the other interfaces as well to get

Re: user-space resource information...

2000-11-04 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : Well, I'm really sick of people complaining about not being able to get : at the things the resource manager knows from userspace. So I've done : something about it. Cool. I've wanted this for some time now. : 0: Interrupt request lines 0

Re: user-space resource information...

2000-11-04 Thread Mike Smith
> In message <[EMAIL PROTECTED]>, Mike Smith writes: > >> > Comments? Here's some sample output; the leading index numbers are > >> > >> Just 2: why are the irqs displayed in hex? > > > >See the following comment regarding "formatting conventions". There's no > >easy way for the program to kno

Re: user-space resource information...

2000-11-04 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Mike Smith writes: >> > Comments? Here's some sample output; the leading index numbers are >> >> Just 2: why are the irqs displayed in hex? > >See the following comment regarding "formatting conventions". There's no >easy way for the program to know that they're

Re: user-space resource information...

2000-11-04 Thread Mike Smith
> > Comments? Here's some sample output; the leading index numbers are > > Just 2: why are the irqs displayed in hex? See the following comment regarding "formatting conventions". There's no easy way for the program to know that they're IRQs (and IMO it shouldn't), so no way to know that they

Re: user-space resource information...

2000-11-04 Thread Wilko Bulte
On Sat, Nov 04, 2000 at 03:43:28AM -0800, Mike Smith wrote: > > Well, I'm really sick of people complaining about not being able to get > at the things the resource manager knows from userspace. So I've done > something about it. > > Please review: > > http://ziplok.dyndns.org/msmith/rman.

user-space resource information...

2000-11-04 Thread Mike Smith
Well, I'm really sick of people complaining about not being able to get at the things the resource manager knows from userspace. So I've done something about it. Please review: http://ziplok.dyndns.org/msmith/rman.diff http://ziplok.dyndns.org/msmith/iostat.diff which adds the new '-r'