home *** CD-ROM | disk | FTP | other *** search
-
- DOCUMENTATION FOR TERMINATOR/2
- ------------------------------
-
- Terminator/2 is a program that terminates running processes by their
- Process ID numbers. There are other products that do the same thing
- (eg KILL, and KILLEM). Terminator/2 is similar to KILL in that the
- process ID number that you supply to it is the same as the one listed
- by PSTAT (when you type "pstat /c") but it is different from KILL in
- that it also gives you the option of terminating the child processes
- of the relevant process.
-
- It is similar to KILLEM in that child processes of the process which
- you identified can be terminated along with the process, but it is
- different from KILLEM in that termination of child processes is an
- option which you have to specify explicitly (whereas in KILLEM, it
- is always done).
-
- Finally, the executable file for Terminator/2 (TERMINAT.EXE) is far
- smaller than the executables of the other programs referred to above,
- in some cases, by an order of about 500% (it is only 5.8k in size,
- whereas some of the others are over 30k). Thus, if only for the sake
- of disk space, it might be a better alternative.
-
- Why use Terminator/2?
- ---------------------
- Ever tried terminating some processes from the WPS, which just refuse
- to die? Well, try terminating them from the command line with
- Terminator/2 - you might just succeed.
-
- What if you are not running the WPS (eg you are using TSHELL as your
- "protshell")? Well it becomes difficult to terminate hung processes
- without a command line utility. Enter Terminator/2. Get the gist?
-
-
- Syntax
- ------
- Terminator/2 can take up to 2 parameters (although only 1 is necessary).
-
- The syntax is:
-
- TERMINAT <process ID> [/c]
-
- The second parameter is optional, and is only used when you want to
- terminate a process, AND all it's child processes. If it is not
- supplied, then only the process identified by <process ID> is
- terminated.
-
- Examples:
- TERMINAT 0025 (terminates the process with ID number 0025)
- TERMINAT 003C /c (terminates the process with ID number 003C
- AND ALL its child processes)
-
- Before you use the "/c" option, please make sure you know what you
- are doing.
-
- You can obtain a list of the running processes and the process ID
- numbers by typing "pstat /c" from an os/2 command prompt. You will also
- see the process ID of the parent and child processes of each running
- process (this will help for example in determining whether you want
- to terminate child processes or not).
-
- OS/2 sessions and programs are very easy to identify from the process
- list (when you type "pstat /c"). DOS and Windows sessions and programs
- are not always easy to identify. Thus if the process you wish to
- terminate is a DOS or Windows program, you have to study the process list
- carefully.
-
- The program has only been tested under OS/2 v2.1, but is should work
- under version 2.0 as well. Because it is a 16-bit program, it may work
- under OS/2 v1.3, but I am not sure.
-
- COMPILER
- --------
- For those who are interested, this program was written with Borland
- Pascal 7.0, with the OS/2 patch produced by the German c't magazine.
-
-
- --------
- LICENSE
- --------
- The program is released as freeware. You may do with it as you please,
- provided that you do not change the program in any way, and that if it
- is to be distributed, this file is distributed with it.
-
- DISCLAIMER
- ----------
- THE PROGRAM TERMINATOR/2 IS SUPPLIED "AS IS", AND WITHOUT ANY WARRANTIES
- WHATSOEVER. I ACCEPT NO RESPONSIBILITY FOR ANY LOSS OR DAMAGE, WHETHER
- PHYSICAL, FINANCIAL, EMOTIONAL, MENTAL, MARITAL, OR OTHERWISE, THAT MAY
- RESULT FROM THE USE OR THE PURPORTED USE OF ANY OF THIS PROGRAM.
-
- IF THESE TERMS ARE NOT ACCEPTABLE TO YOU, THEN YOU HAVE NO LICENSE TO
- USE THIS PROGRAM, AND YOU SHOULD DELETE IT FROM YOUR DISKS IMMEDIATELY
- AND PERMANENTLY.
-
-
- {----------------------------------------------------------}
- (c) January 1994
- Dr. A. Olowofoyeku
- Keele University,
- England.
-
- E-mail: laa12@keele.ac.uk
-
- {---------------------------------------------------------}
-