From: andrej@dec1 (J.C. ANDRE (Progfou))
Subject: Howto list processes ?
Date: 1 Feb 1995 17:19:10 GMT [thread overview]
Message-ID: <3gofqe$b2u@news.univ-rennes1.fr> (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 >
reply other threads:[~1995-02-01 17:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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