Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (k - l) kill(1)
also use the ps command to find the process ID of commands.
The sensitivity level of the target process must equal that of the process sending the signal,
unless you have the sysadmin command authorization. If you have the writeupclearance or
writeupsyshi base privileges, you can send signals to processes that dominate your process and
are dominated by your clearance of the System High sensitivity level, respectively.
Unless you are are operating with superuser authority, the process you want to signal must
belong to you. When operating with superuser authority, you can signal any process.
HP Extensions
For each Guardian process_ID argument ([/E/systemname]/G/process or
[/E/systemname]/G/cpu,pin), the kill command performs actions equivalent to the Guardian
PROCESS_STOP procedure called with the process handle of the given process. This TACL-
type stop action can be accessed only by invoking the kill command with the signal_name set to
SIGGUARDIAN.
If you identify a process by its CPU and PIN numbers you must use the following form:
/E/system-name/G/cpu,pin
Specifying a Guardian process ID with any of the other signal names results in an error and an
unsuccessful exit.
Special Process IDs
There are several special process IDs (PIDs) you can specify to cause the following special
actions:
0 The signal is sent to all processes having a process group ID equal to the pro-
cess group ID of the sender, except those with PIDs 0 and 1.
-pid The signal is sent to all processes whose process group number is equal to
the absolute value of pid.
Note that when you specify any negative PID, you must also specify the signal to be sent, even
the default signal SIGTERM.
Arguments
The kill command supports the following arguments:
process_ID A decimal integer specifying a process or process group to be signaled.
Job control job identification notation is applicable only for invocation of the
kill command in the current shell execution environment. The definition of
process_ID is true for all signal numbers and values except the SIGGUAR-
DIAN signal.
If signal name SIGGUARDIAN is specified, the process_ID operand must
be of the following form:
[/E/systemname]{/G/process | /G/cpu,pin}
exit_status A decimal integer that specifies a signal number or the exit status of an OSS
process terminated by a signal.
Environment Variables
The following environment variables affect the execution of the kill command:
LANG Determines
the locale to use for the locale categories when both the LC_ALL variable
and the corresponding environment variable (whose name begins with LC_) do not
specify a locale.
527188-021 Hewlett-Packard Company 53