From: shore@dinah.tc.cornell.edu (Melinda Shore)
Subject: Re: Q:Getting process info using table(2)
Date: 18 May 1994 14:20:29 GMT [thread overview]
Message-ID: <2rd87d$gal@taboo.tc.cornell.edu> (raw)
In-Reply-To: 9405181340.AA00627@gothamcity.jsc.nasa.gov
In article <9405181340.AA00627@gothamcity.jsc.nasa.gov> hann@gothamcity.jsc.nasa.gov (Anhhoang ha) writes:
>So far I kept getting "Not owner - EPERM" message back whenever
>I use the following call to get the actual number of elements
>in the process table:
>
> nproc = table(TBL_PROCINFO, 0, (struct tbl_procinfo *)NULL, 32767, 0);
It's a privileged operation - you need to be root.
--
Melinda Shore - No Mountain Software - shore@tc.cornell.edu
Software longa, hardware brevis.
I DON'T SPEAK FOR CORNELL.
prev parent reply other threads:[~1994-05-18 14:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-18 13:43 Q:Getting process info using table(2) Anhhoang ha
1994-05-18 14:20 ` Melinda Shore [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