Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
kill(1) OSS Shell and Utilities Reference Manual
LC_ALL
Determines the locale to be used to override any values for locale categories specified
by the settings of the LANG variable or any environment variable whose name begins
with LC_.
LC_CTYPE
Determines the locale for the interpretation of bytes of text data as characters (for
example, a single-byte character rather than a multibyte character in an argument).
LC_MESSAGES
Determines the locale that should be used to affect the format and contents of diagnos-
tic messages written to the standard error file and informational messages written to the
standard output file.
Standard Output
When the -l flag is not specified, the standard output file is not used.
When the -l flag is specified, the symbolic name of each signal is written in the following format:
%s%c,signal_name,separator
where signal_name is in uppercase without the prefix SIG, and separator is a blank space. For
the last signal written, separator is a newline.
When both the -l flag and the exit_status argument are specified, the symbolic name of the
corresponding signal is written in the following format:
%s,signal_name
EXAMPLES
1. To terminate a given process, enter:
kill 1095
This terminates process 1095 by sending it the default SIGTERM signal. Note that pro-
cess 1095 might not actually terminate if you have programmed it to ignore or catch the
SIGTERM signal.
2. To terminate several processes that ignore the default signal, enter:
kill -s KILL 17285 15692
This sends the SIGKILL signal to processes 17285 and 15692. SIGKILL is a special
signal that normally cannot be ignored or caught.
3. To terminate all of your background processes, enter:
kill 0
This sends the SIGTERM signal to all members of the shell process group. This
includes all background processes started with &. Although the signal is sent to the
shell, it has no effect there because the shell ignores the default signal 15.
4. To terminate all your processes and log out, enter:
kill -s KILL 0
This sends the SIGKILL signal to all members of the shell process group. Because the
shell cannot ignore SIGKILL, this also terminates the login shell and logs you out. If
you are using multiple windows, this closes the active window.
5−4 Hewlett-Packard Company 527188-003