* /proc questions
@ 1995-09-18 4:00 Brian C Hill
1995-09-18 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: Brian C Hill @ 1995-09-18 4:00 UTC (permalink / raw)
1. /proc doesn't seem to mount by default out-of-the-box.
Should it?
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?
Thanks for any help!
________________________________________________________________
/ Brian C. Hill bchill@ucdavis.edu __ \
| Systems Programmer (916) 752-0626 \/ |
| IT/Information Resources University of California, Davis |
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /proc questions
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.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1995-09-18 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-09-18 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox