ckill.1 (2012 03)
c
ckill(1) ckill(1)
NAME
ckill - Displays or kills named processes on multiple hosts in parallel. ckill is part of the Distributed Sys-
tems Administration Utilities (DSAU).
SYNOPSIS
ckill [command fanout options][kill options] processname
ckill {-h | --help | -?}
ckill {-V | --version}
DESCRIPTION
ckill, in parallel, displays or kills processes on multiple hosts. In a Serviceguard cluster, displays or kills
the named process cluster-wide by default. When not in a Serviceguard cluster, defaults to issuing com-
mands on the local host. To kill a process, specify a process name (ckill does not accept a numeric PID to
kill a process). If the process name is specified with a path, ckill kills processes that exactly match the
specified process name. If just a basename is specified, ckill kills all processes with a matching
basename. See EXAMPLES for more details.
REMOTE COMMAND TRANSPORT OPTIONS
Select how ckill connects to target systems at runtime using the -R option. ssh is the default transport.
The following protocols are supported:
• rsh:
Uses an internal, thread-safe implementation of BSD rcmd(3) to run commands using the stan-
dard rsh(1) protocol.
• ssh (default):
Uses a variant of popen(3) to run multiple copies of the ssh(1) command.
Options
-a cexec reads the /etc/machines file to obtain the list of nodes. This option has no arguments.
Note that the /etc/machines file is not shipped by default and can be created on each host.
The format for the /etc/machines file is the same as that for the hostsfile described below.
-f | --hostsfile filename
Runs the command on all hosts listed in the specified file. The file must contain a list of target
hosts, one hostname per line. Hostlist expressions are valid; see HOSTLIST EXPRESSIONS
below.
-n | -w | --nodes host1,host2,...
Target the specified list of hosts. No spaces are allowed in the comma-separated list. The host
list may contain hostlistexpressions of the form ‘‘host[1-5,7]’’. For more information about the
hostlist format, see the HOSTLIST EXPRESSIONS section below. This option overrides all
other host specification options.
--fanout number
Set the maximum number of simultaneous remote commands to number.
-h | --help
Display command help and quit.
-l | --list List valid signal names.
-R | --rcmd {rsh | ssh}
Set remote command transport to
rsh or ssh.
-s signame | -s signum
Kill using signal name (signame) or signal number (signum).
-signame | -signum
Obsolescent. Kill using signal name (signame) or signal number (signum).
-t | --timeout seconds
Set the connect timeout.
-u | --ctime seconds
Set a limit on the amount of time a remote command is allowed to execute. Default is no limit.
HP-UX 11i Version 3: March 2012 − 1 − Hewlett-Packard Company 1