Kill Utility

From Wiki
Jump to: navigation, search

KILL is a command-line process killer utility for OS/2 Warp (and possibly 2.1x). It includes support for Holger Veit's xf86sup.sys, which (when used in conjunction with OS/2 Warp FixPak 17 (or later?)) implements a "HARD KILL" method. xf86sys is included, in the FX0002.ZIP archive.

KILL is intended for OS/2 power users. Familiarity with the internals of the OS/2 system and process management are assumed.

KILL has command-line arguments very similar to the standard Unix kill command, i.e. "kill [-l] [-signal] PID's". For example, "kill 130" sends a SIGTERM to process 130, and "kill -KILL 0x25" uses xf86sup.sys to "hard-kill" process 0x25 (37). You can get available signals with "kill -l"; KILL supports OS/2 signals SIGTERM, SIGBREAK, SIGINT, and SIGKILL (the latter simulated using xf86sup.sys).

xf86sup.sys is not required for operation. If it is not installed, SIGKILL ("kill -KILL" or equivalently "kill -9") will not be supported.


  1. Unzip the archive to a temporary directory.
  2. Copy/move kill.exe to a directory in your path.
  3. If you don't have xf86sup.sys installed, unzip, copy/move xf86sup.sys to your \os2\boot directory, and add the line "DEVICE=\os2\boot\xf86sup.sys" to your CONFIG.SYS file.
  4. If you don't want to tinker with the kill and xf86sup source files, delete all files unarchived that you haven't copied/moved to another directory (except possible this readme file!).
  5. If you installed xf86sup.sys in step 2, reboot OS/2.
  6. Happy killing!  :-) You can try killing non-killable processes using the sample PIG.EXE program included in

Known Bugs and Problems

SIGINT and SIGBREAK, though they would appear to be implemented correctly (see the source code, kill.c) don't work on my system (Warp Connect, FixPak 17), returning SYS0205 (no signal handlers) errors regardless of the PID I specify.


Public Domain