Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ???
@ 1999-03-18  5:00 Greg Sylvain
  1999-03-19  5:00 ` Eric Werme - replace nospam with werme
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Sylvain @ 1999-03-18  5:00 UTC (permalink / raw)


Hi all,

I hope someone might be able to point me in the right direction here.  I
have been trying for a couple days now with out much success.

I'm trying to port a performance monitoring tool to DU 4.0B that
monitors NFSv3 performance (among other things), and I can't figure out
how to get the NFSv3 stats/counts from the kernel akin to nfsstat(1).

I've run a trace(1) of nfsstat, and it only tells me that, apparently,
nfsstat makes about 5 msgsnd(2) calls to get this information from the
kernel  (I assume that this is straight from Mach 2.5 basis ?)

Does any of this sound familiar to anyone ???


Thanks in advance for any help,
Greg



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ???
  1999-03-18  5:00 Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ??? Greg Sylvain
@ 1999-03-19  5:00 ` Eric Werme - replace nospam with werme
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Werme - replace nospam with werme @ 1999-03-19  5:00 UTC (permalink / raw)


Greg Sylvain <gsylvain@mindspring.com> writes:

>I'm trying to port a performance monitoring tool to DU 4.0B that
>monitors NFSv3 performance (among other things), and I can't figure out
>how to get the NFSv3 stats/counts from the kernel akin to nfsstat(1).

>I've run a trace(1) of nfsstat, and it only tells me that, apparently,
>nfsstat makes about 5 msgsnd(2) calls to get this information from the
>kernel  (I assume that this is straight from Mach 2.5 basis ?)

No, nfsstat and all the kernel code is Sun derived.  I suspect the msgsnd
calls are from nlist(3) calls that talk to /sbin/kloadsrv to convert
symbol names to kernel addresses which are then read from /dev/kmem.

The structures involved are not in header files, we may be moving access
to a table(2) someday.  For now, look at kernel names rcstat, clstat,
rsstat, svstat, tcstat and don't tell anyone I posted this.  :-)

Or - parse the output from nfsstat(1).
--
<>    Eric (Ric) Werme     <> The above is unlikely to contain   <>
<>    ROT-13 addresses:    <> official claims or policies of     <>
<>   <jrezr@mx3.qrp.pbz>   <> Compaq Computer Corp.              <>
<> <jrezr@plorecbegny.arg> <>  http://www.cyberportal.net/werme  <>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ???
@ 1999-03-22  5:00 Greg Sylvain
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Sylvain @ 1999-03-22  5:00 UTC (permalink / raw)


I posted this last week, but it didn't seem to make it past
comp.sys.dec:

Hi all,

I hope someone might be able to point me in the right direction here.  I

have been trying for a couple days now with out much success.

I'm trying to port a performance monitoring tool to DU 4.0B that
monitors NFSv3 performance (among other things), and I can't figure out
how to get the NFSv3 stats/counts from the kernel akin to nfsstat(1).

I've run a trace(1) of nfsstat, and it only tells me that, apparently,
nfsstat makes about 5 msgsnd(2) calls to get this information from the
kernel  (I assume that this is straight from Mach 2.5 basis ?)

After further testing, the msgsnds are actually a result of calls to
nlist(2).  Why
doesn't the nlist call show in the trace output ?  Is nlist just a macro
?

Does any of this sound familiar to anyone ???


Thanks in advance for any help,
Greg




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-22  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-18  5:00 Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ??? Greg Sylvain
1999-03-19  5:00 ` Eric Werme - replace nospam with werme
  -- strict thread matches above, loose matches on Subject: below --
1999-03-22  5:00 Greg Sylvain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox