From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,880336df4427288a,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-18 06:52:00 PST Path: bga.com!news.sprintlink.net!hookup!usc!cs.utexas.edu!not-for-mail From: hann@gothamcity.jsc.nasa.gov (Anhhoang ha) Newsgroups: comp.unix.osf.osf1 Subject: Q:Getting process info using table(2) Date: 18 May 1994 08:43:32 -0500 Organization: UTexas Mail-to-News Gateway Sender: daemon@cs.utexas.edu Message-ID: <9405181340.AA00627@gothamcity.jsc.nasa.gov> NNTP-Posting-Host: news.cs.utexas.edu 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 | ----------------------------------------------------------------/