Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: /proc questions
Date: 1995/09/18	[thread overview]
Message-ID: <43kvq7$oaq@usenet.pa.dec.com> (raw)
In-Reply-To: 43kqvo$64n@mark.ucdavis.edu


In article <43kqvo$64n@mark.ucdavis.edu>, cccbrian@peseta.ucdavis.edu (Brian C Hill) writes:
>
>1. /proc doesn't seem to mount by default out-of-the-box.
>Should it?

I don't think V1.2 or V1.3 mounted it by default.  I don't
remember what V2.0 did.  As far as I can remember V3.0
and later all did.  I haven't had to do anything (that I
remember) for V3.2A and V3.2C.  I don't recall if the
installation doconfig puts procfs in the menu of kernel
options.

>
>2. Is there some secondary API to process information if procfs
>is not mounted? That is, if I do a stat inside my program and
>see that the fstype of /proc is not procfs, is there some other
>way to get process information without having to walk through
>kmem?

You might be able to get limited information via the undocumented
MACH interfaces.  I tried to use them in Monitor until I discovered
that they had to be called as root.  It is probably easier to make
sure that /proc is mounted.
>
>  /  Brian C. Hill                bchill@ucdavis.edu   __          \
--
Alan Rollow				alan@nabeth.cxo.dec.com




      reply	other threads:[~1995-09-18  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-18  4:00 /proc questions Brian C Hill
1995-09-18  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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