SAFE

Section: Misc. Reference Manual Pages (1L)
Index Return to Main Contents
 

NAME

safe - kill a process after specified time.  

SYNOPSIS

safe -d <delay> -w <warning> -b command_line  

DESCRIPTION

Safe executes the given command_line, killing the process if it is still running after delay seconds. If the -w option is specified, a warning will be given warning seconds before the process is to be terminated. The -b option supresses the text of the warning message and only beeps the terminal; this is useful if you are in a screen oriented program.

I wrote this program to make it easier to test a program that was doing some strange ioctls. However it seems to have many uses, including controlling netnews addiction.  

AUTHOR

Mike Blackwell - USENET: ...!ihnp4!aicchi!mdb  

NOTES

The program traps SIGINT and uses it to terminate the process. I haven't run into any problems with this, but it could be a problem with some programs.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
NOTES

This document was created by man2html, using the manual pages.
Time: 06:21:22 GMT, December 12, 2024