pipeclean

syntax

    pipeclean [-f config_file] [-d directory]
pipeclean is a program which scans a directory for pipes with names of the form name.nnnn where the nnnn is the pid.
    prw-------   1 mplib1   users           0 Mar  3 16:26 crs.14998
    prw-------   1 mplib1   users           0 Mar  3 16:26 crs.14999
    prw-------   1 mplib1   users           0 Mar 11 12:15 crs.31561
    prw-------   1 mplib1   users           0 Mar 11 12:15 crs.31563
    prw-------   1 mplib1   users           0 Mar  3 13:37 gwgated.12935
    prw-------   1 mplib1   users           0 Nov 26  1996 q_test.22134
    prw-------   1 mplib1   users           0 Nov 26  1996 q_test.22135
It then tests whether this pid is running and if not, deletes the pipe.

The directory scanned will be the first supplied of the following

  1. the directory supplied as the -d option.
  2. the PIPE_DIR directory from the configuration file.
  3. $HOME/pipe