home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4373 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  959 b 

  1. Path: sparky!uunet!caen!kuhub.cc.ukans.edu!huxtable
  2. From: huxtable@kuhub.cc.ukans.edu (Kathryn Huxtable)
  3. Newsgroups: comp.unix.programmer
  4. Subject: Need help finding processes in a session
  5. Message-ID: <1992Aug19.160839.42436@kuhub.cc.ukans.edu>
  6. Date: 19 Aug 92 16:08:39 CDT
  7. Organization: University of Kansas Academic Computing Services
  8. Lines: 19
  9.  
  10. Hi all,
  11.  
  12. I am writing a program that needs to check the processes of
  13. a session to determine whether or not a particular program
  14. is already running.  It seems to me that ps knows how to do
  15. find the child processes of a session.  How does it do it?
  16. Is there ps source available somewhere or is there a
  17. subroutine I'm just not finding?
  18.  
  19. I'm running on AIX but we'd like it if it would run on other
  20. variants as well, especially Ultrix.
  21.  
  22. Thanks in advance,
  23.  
  24. -Kathryn
  25.  
  26. -- 
  27. Kathryn Huxtable              \   "Women who laugh too much, and the women
  28. huxtable@kuhub.cc.ukans.edu   /\   who love them." --- Jamie Anderson
  29.