kill

From NetBSD Wiki

Jump to: navigation, search

The kill(1) command terminates or signals a process.

The PIDs of the processes to receive the signal are specified on the command line. An optional signal number or name can be specified following a '-'.

The following command will send signal 1 (SIGHUP) to process 234:

% kill -1 234

This variant has the same effect:

% kill -SIGHUP 234

If the signal number is omitted, the default of signal 15 (SIGTERM) is sent. This will normally terminate the receiving process.

% kill 234

While root can signal any process, regular users cannot send signals to processes owned by other users.

See also

View source code (Please report any bugs or suggestions here).

Retrieved from "http://wiki.netbsd.se/kill"
Personal tools