From: "Ron Feral" <feralron@vaxxine.com>
Subject: Re: enumerating processes: DEC OSF/1
Date: 1999/03/08 [thread overview]
Message-ID: <01be697f$f18bd9f0$23d405d1@pckreamer> (raw)
In-Reply-To: slrn7cs2vt.8so.ken@pulsar.halcyon.com
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 <ken@halcyon.com> wrote in article
<slrn7cs2vt.8so.ken@pulsar.halcyon.com>...
> On Mon, 15 Feb 1999 13:08:42 +1100,
> Greg Robson-Garth <gregr@alphalink.com.au> 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")
prev parent reply other threads:[~1999-03-08 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-15 5:00 enumerating processes: DEC OSF/1 Greg Robson-Garth
1999-02-20 5:00 ` Ken Pizzini
1999-03-08 5:00 ` Ron Feral [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