NAME
rambo - script to search and destroy jobs hiding on the
network
SYNOPSIS
rambo [ -nodes:nodes ] [ -maxp:maxp ]
DESCRIPTION
rambo
is a script file that allows the user to easily kill remote
jobs on the network spawned by PCN, IKP or a clever shell
script. The shell script does a remote login on each data
set, runs 'ps', parses the output, and if the number of
processes are less than the maximum indicator, kills thems
one after the other.
Note that since rambo is a script file you can copy it and
use it as a template to build your own favorite scripts.
rambo gets both its data and its parameters from command
line arguments.
Command line arguments
-nodes: nodes
Enter the workstation nodes separated by ':' to indi-
cate the nodes to be searched. For example the option
-nodes:emepsw01:emepsw02:emespw04:emes01 would search
and kill jobs on workstations named emepsw01, emepsw02,
emepsw04 and emes01 respectively. Syntax identical to
that in routine sammig.
-maxp maxp
Enter the maximum number of processes to be killed.
This may prevent you from unintentionally killing win-
dows on the remote machine opened up outside PCN or
IKP. (Default = 4, 2 from PCN, one for the rsh and the
other for ps).
BUGS
None known.
AUTHOR
K.D. Crawford (APC)
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html