From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,880336df4427288a X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-18 11:12:54 PST Path: bga.com!news.sprintlink.net!demon!bnr.co.uk!corpgate!news.utdallas.edu!chpc.utexas.edu!cs.utexas.edu!howland.reston.ans.net!gatech!udel!MathWorks.Com!news.kei.com!newsstand.cit.cornell.edu!travelers.mail.cornell.edu!news.tc.cornell.edu!dinah.tc.cornell.edu!shore From: shore@dinah.tc.cornell.edu (Melinda Shore) Newsgroups: comp.unix.osf.osf1 Subject: Re: Q:Getting process info using table(2) Date: 18 May 1994 14:20:29 GMT Organization: No Mountain Software Message-ID: <2rd87d$gal@taboo.tc.cornell.edu> References: <9405181340.AA00627@gothamcity.jsc.nasa.gov> NNTP-Posting-Host: dinah.tc.cornell.edu 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.