From: Greg Sylvain <gsylvain@mindspring.com>
Subject: Re: DU 4.0: difference between nlist(3) vs. knlist(3)
Date: 1998/12/17 [thread overview]
Message-ID: <3679581A.8A1131FF@mindspring.com> (raw)
Thanks for the reply Megan,
But I'm trying to examine the running kernel, that's why I tried using
knlist
first. I'm trying to get stats on IPC (msginfo, shminfo and seminfo
symbols)
usage.
The program runs just fine if I call nlist with the BOOTEDFILE that
getsysinfo returns, but the program crashes when I use knlist. Both
required
root to open /dev/kmem.
Any ideas ? Thanks again,
greg
Megan wrote:
> In comp.sys.dec you write:
>
> >Hi,
>
> >Could someone tell me the difference between these two libc calls, other
> >than the parametric difference ?
>
> nlist is for use with a compiled program... knlist is specifically for
> examining the running kernel
>
> Megan Gentry
> Former RT-11 Developer
>
> +--------------------------------+-------------------------------------+
> | Megan Gentry, EMT/B, PP-ASEL | Internet (work): gentry!zk3.dec.com |
> | Unix Support Engineering Group | (home): mbg!world.std.com |
> | Compaq Computer Corporation | addresses need '@' in place of '!' |
> | 110 Spitbrook Rd. ZK03-2/T43 | URL: http://world.std.com/~mbg/ |
> | Nashua, NH 03062 | "pdp-11 programmer - some assembler |
> | (603) 884 1055 | required." - mbg |
> +--------------------------------+-------------------------------------+
next reply other threads:[~1998-12-17 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-17 5:00 Greg Sylvain [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-12-17 5:00 DU 4.0: difference between nlist(3) vs. knlist(3) Greg Sylvain
1998-12-17 5:00 ` Greg Sylvain
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox