From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,26b6aefdc371738a X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,26b6aefdc371738a X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,26b6aefdc371738a X-Google-Attributes: gidfee84,public From: "Ron Feral" Subject: Re: enumerating processes: DEC OSF/1 Date: 1999/03/08 Message-ID: <01be697f$f18bd9f0$23d405d1@pckreamer>#1/1 X-Deja-AN: 452899582 References: <7a974k$u8r$1@news.alphalink.com.au> X-Complaints-To: usenet@news.vaxxine.com X-Trace: news.vaxxine.com 920916110 6064 209.5.212.35 (8 Mar 1999 18:01:50 GMT) Organization: Vaxxine Public Internet Server NNTP-Posting-Date: 8 Mar 1999 18:01:50 GMT Newsgroups: comp.unix.osf.osf1,comp.unix.osf.osf1,comp.unix.programmer,comp.unix.questions The popen() solution is best. Without the /proc filesystem you'll have to use table(). I assume that the version of Digital UNIX (OSF/1) you're running doesn't have /proc. I remember V2.0 didn't. Ken Pizzini wrote in article ... > On Mon, 15 Feb 1999 13:08:42 +1100, > Greg Robson-Garth wrote: > >I currently call the the 'table' C function but it requires superuser (root) > >permissions. Are there any functions which can do this without needing > >superuser access ? > > Well, there's always the old standby of: > popen("ps", "r")