home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15388 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.0 KB  |  27 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!ultima.cerfacs.fr!farestam
  3. From: Stefan Farestam <farestam@cerfacs.fr>
  4. Subject: Process id -> process name
  5. Message-ID: <1993Jan10.200225.2794@nrao.edu>
  6. Sender: news@nrao.edu
  7. Organization: C.E.R.F.A.C.S., Toulouse, France
  8. Date: Sun, 10 Jan 1993 20:02:25 GMT
  9. Lines: 16
  10.  
  11.  Is there a *portable* way to get the name of a process
  12.  from its process id, within a C-program and without
  13.  resorting to the ps program? I suppose this means
  14.  digging into kmem, and that is inherently non-portable,
  15.  right?
  16.  
  17.  Thanks,
  18.  Stefan Farestam
  19.  
  20.     .................................................................   
  21.   .             Stefan Farestam    <farestam@cerfacs.fr>              .
  22.  .   __ __  __ _  _ _                                                  .
  23.  .  /  |_ )|_ /_\/ (          European Centre for Research and         .
  24.   . \_ |__\| /   \__)     Advanced Training in Scientific Computing   .
  25.     .................................................................  
  26.  
  27.