Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Howto list processes ?
@ 1995-02-01 17:19 J.C. ANDRE (Progfou)
  0 siblings, 0 replies; only message in thread
From: J.C. ANDRE (Progfou) @ 1995-02-01 17:19 UTC (permalink / raw)


[ Article crossposted from comp.sys.dec ]
[ Author was J.C. ANDRE (Progfou) (andrej@dec1) ]
[ Posted on 18 Jan 1995 10:56:17 GMT ]

We are making a tool to kill all processes of a given user.
We need to find out the list of his processes with only C functions (no
shell please : we know ps ;-)
Anybody knows how to do that ?

At this time we are trying with opendir, readir on /proc directory.
Our problem is not all processes are listed in /proc !
Anybody knows why ? and how to get rid of this ?

E-Mail prefered. Any pointers welcome. Thanks !
--
< Linux & Network interest > -= Progfou =- < andrej@ensinfo.univ-nantes.fr >

--
< Linux & Network interest > -= Progfou =- < andrej@ensinfo.univ-nantes.fr >


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-01 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-01 17:19 Howto list processes ? J.C. ANDRE (Progfou)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox