home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rxusmp.zip / pi2.doc < prev    next >
Text File  |  1994-01-12  |  1KB  |  23 lines

  1. Rexx program "PI2.CMD" written based on the "RxQProcStatus()" function of the
  2. RXU.ZIP (YDBAUTIL) function package.
  3.  
  4. PI2 is a Rexx program which displays process status information (similar to
  5. that which PSTAT.EXE displays).  It provides the ability to "filter" the
  6. process display by executable name, PID and PPID (parent process-id).  It will
  7. list processes, "children" modules (i.e. DLLs), "parent" modules (i.e. those
  8. which directly use the module (e.g. EXEs).
  9.  
  10. Not all the features work properly yet (e.g. ANCESTORS).  PI2 was meant more
  11. as a demo of how results from "RxQProcStatus()" might be used rather than a
  12. full function program, although I have found it quite useful for displaying
  13. a filtered list of running processes (when I only want to see info on one or
  14. a few processes without wading through PSTAT output, or visually searching
  15. through the PSPM2.EXE window for the name I'm after).
  16.  
  17. You could enhance PI2.CMD to display a process tree, like that in PSPM2 but
  18. as text lines (exercise in recursion through PID<->PPID relationships, etc.).
  19.  
  20. For this version of PI2.CMD to work, you must download RXU.ZIP v1.5 from OS2DF1
  21. Rexx/Other library (v1.4 will suffice, except for PARENT,CHILDREN,DEPENDENTS,
  22. etc.)
  23.