skill, snice – send a signal or report process status

A UNIX Command
$skill
Usage:   skill [signal to send] [options] process selection criteria
Example: skill -KILL -v pts/*

The default signal is TERM. Use -l or -L to list available signals.
Particularly useful signals include HUP, INT, KILL, STOP, CONT, and 0.
Alternate signals may be specified in three ways: -SIGKILL -KILL -9

General options:
-f  fast mode            This is not currently useful.
-i  interactive use      You will be asked to approve each action.
-v  verbose output       Display information about selected processes.
-w  warnings enabled     This is not currently useful.
-n  no action            This only displays the process ID.

Selection criteria can be: terminal, user, pid, command.
The options below may be used to ensure correct interpretation.
-t  The next argument is a terminal (tty or pty).
-u  The next argument is a username.
-p  The next argument is a process ID number.
-c  The next argument is a command name.
$skill -l
HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT
CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS
$ps aux | grep xine
jeffrin   2844  2.9  1.4 661236 29460 pts/3    Sl   20:44   0:00 xine
jeffrin   2866  0.0  0.0 112944   816 pts/1    S+   20:44   0:00 grep xine
$skill 2844
$ps aux | grep xine
jeffrin   2869  0.0  0.0 112944   820 pts/1    S+   20:44   0:00 grep xine
$

UNIX Explanation
The default  signal for  skill is TERM.  Use -l or  -L to
list  available  signals.   Particularly  useful  signals
include  HUP, INT,  KILL, STOP,  CONT, and  0.  Alternate
signals  may  be specified  in  three  ways: -9  -SIGKILL
-KILL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s