ckill.1 (2012 03)
c
ckill(1) ckill(1)
-U username
Consider processname only when owned by username.
--user username
Execute remote commands as username.
-v | --verify processname
List processes with the specified process name. If the process is specified with a path, an exact
match is required. If the process is specified as a name (for example, a basename), then all
processes with that basename are matched.
-V | --version
Shows the version of ckill.
-x | --exclude host1,host2,...
Exclude the specified hosts.
ENVIRONMENT VARIABLES
CFANOUT_HOSTS
On non-Serviceguard clusters, if no other node selection option is used, the CFANOUT_HOSTS environ-
ment variable may be set to a filename from which a list of target hosts is read. The file must contain a
list of hosts, one per line.
LIMITATIONS
When using the ssh transport, password-less ssh must have already been configured between the source
and destination hosts.
ckill will not interactively prompt for passwords. Use the
csshsetup tool to
help you configure password-less ssh. Similarly, when using rsh, the .rhosts files on the nodes must be
properly configured. The connect timeout is not adjustable when using ssh.
The number of nodes on which ckill can simultaneously execute remote jobs is limited by the maximum
number of threads that can be created concurrently, as well as the availability of reserved ports in the
rsh rcmd modules.
For additional limitations, see the
cexec(1) manpage.
HOSTLIST EXPRESSIONS
ckill accepts lists of hosts in the general form: prefix[n-m,l-k,...], where n < m and l < k are an alterna-
tive to explicit lists of hosts. This form should not be confused with regular expression character classes
(also denoted by ‘[]’). For example, node[19] does not represent an expression matching node1 or node9,
but the degenerate hostlist node19.
Hostlist syntax is provided only as a convenience on clusters using a prefixNNN naming convention and
specification of ranges should not be considered necessary -- thus you could specify node1, node9 or the
hostlist node[1,9].
EXAMPLES
Note that some shells interpret brackets ([ and ]) in pattern matching. Depending on your shell, you may
need to enclose ranged lists within quotes. For example, in tcsh, the hostname should be quoted as fol-
lows:
ckill -w "node[01-05]" process1
To ckill the following processes on node01:
1. process1
2. bin/process1
3. /usr/bin/process1
use:
ckill -w node1 process1
To ckill ONLY bin/process1, use:
ckill -w node1 bin/process1
To list all processes with name process1 on node1, node2 and node3, use:
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: March 2012