pstree.cmd
    is a Rexx script inspired by the Linux 'pstree' command. It will draw a tree
    diagram of the currently running processes showing their parent and child
    processes. Or it will list them sorted by PID, PPID, SID, etc.

    By the way, pstree.cmd will also check for files named *.pid under \var\run and
    its subdirectories, which can sometimes help identify processes. For instance,
    the process name of my Rexx cron daemon simply shows up as "4OS2.EXE", but I
    can tell which copy of 4OS2 is the cron daemon because pstree.cmd shows it as
        DT     [19]       [149]  F:\SYS\APPS\4OS2\4OS2.EXE       (crond)

pidof.cmd
    is also a Rexx script, inspired by the Linux 'pidof' command. Given a name, it
    shows the PID(s) of the named process. It can be used from the command line or
    called as a function from a Rexx script.

for usage, see
    pstree.cmd -help
    pidof.cmd -help

Anton Monroe <amonroe5301@gmail.com>

