Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hann@gothamcity.jsc.nasa.gov (Anhhoang ha)
Subject: Q:Getting process info using table(2)
Date: 18 May 1994 08:43:32 -0500	[thread overview]
Message-ID: <9405181340.AA00627@gothamcity.jsc.nasa.gov> (raw)

Hi,
I'm trying to get process information by calling the table
function on the DEC Alpha platform running OSF 1 (V2.0).
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);

Has anyone out there seen this problem before? What kind of solution
would you propose? Thanks in advance for your input.

Ann
-- 
/----------------------------------------------------------------
| Anhhoang N. Ha         |                                      |
| NASA Mail Code PT4     |                                      |
| Johnson Space Center   |  Phone: (713) 483-0994               |
| Houston, Texas 77058   |  Email: hann@gothamcity.jsc.nasa.gov |
----------------------------------------------------------------/


             reply	other threads:[~1994-05-18 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-18 13:43 Anhhoang ha [this message]
1994-05-18 14:20 ` Q:Getting process info using table(2) Melinda Shore
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