home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!ultima.cerfacs.fr!farestam
- From: Stefan Farestam <farestam@cerfacs.fr>
- Subject: Process id -> process name
- Message-ID: <1993Jan10.200225.2794@nrao.edu>
- Sender: news@nrao.edu
- Organization: C.E.R.F.A.C.S., Toulouse, France
- Date: Sun, 10 Jan 1993 20:02:25 GMT
- Lines: 16
-
- Is there a *portable* way to get the name of a process
- from its process id, within a C-program and without
- resorting to the ps program? I suppose this means
- digging into kmem, and that is inherently non-portable,
- right?
-
- Thanks,
- Stefan Farestam
-
- .................................................................
- . Stefan Farestam <farestam@cerfacs.fr> .
- . __ __ __ _ _ _ .
- . / |_ )|_ /_\/ ( European Centre for Research and .
- . \_ |__\| / \__) Advanced Training in Scientific Computing .
- .................................................................
-
-