HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
swjob(1M) swjob(1M)
NAME
swjob, sd - display and monitor job information and create and remove jobs; invoke graphical user interface
to display and monitor job information and create and remove jobs; respectively
SYNOPSIS
swjob [-i][-R][
-u][-v][-a attribute ][-C session_file ][-f
jobid_file ][-S session_file ]
[
-t target_file ][
-x option=value ][-X option_file ][jobid(s)][@ target_selections ]
sd [XToolkit Options][
-x option=value ][-X option_file ]
Remarks
The
sd command invokes an interactive interface to the same functionality that
swjob provides.
See Interactive Operation below for more details.
This command supports operation on remote systems. See Remote Operation below for details.
For an overview of all SD commands, see the sd(5) man page by typing
man 5 sd on the com-
mand line.
DESCRIPTION
The
swjob command displays job information and removes jobs. It supports these features:
Display the current install jobs, copy jobs, and other SD jobs initiated by the SD commands.
Specify a specific job to list or remove.
Display the command logfile for a specific job.
Display the target logfile for a specific target.
Remote Operation
You can enable Software Distributor (SD) to manage software on remote systems. To let the root user from
a central SD controller (also called the central management server or manager node) perform operations on
a remote target (also called the host or agent):
1) Set up the root, host, and template Access Control Lists (ACLs) on the remote machines to permit root
access from the controller system. To do this, run the following command on each remote system:
/usr/lib/sw/mx/setaccess
controller
NOTES:
controller is the name of the central management server.
If remote system is 11.00, make sure SD patch PHCO_22526 or a superseding patch is installed on
remote system before running
setaccess.
If remote system is older than 11.00 or for some other reason does not have setaccess
in place,
copy
setaccess script from an 11.11 or higher system to the remote system.
2) swinstall, swcopy, and swremove have enhanced GUI interfaces for remote operations. Enable
the enhanced GUIs by creating the .sdkey file on the controller. Use this command:
touch /var/adm/sw/.sdkey
NOTE: You can also set up remote access by using swacl directly on the remote machines to grant root or
non-root access to users from the controller system.
Interactive Operations
The sd command is an interactive interface for monitoring and scheduling software jobs. It provides the
same functionality as the swjob command. You can also use sd to invoke the swinstall, copy, and
swremove GUIs.
If you have enabled SD’s remote operations features, swinstall, swcopy, and swremove provide
enhanced GUIs to support operations on remote targets. See Remote Operation above for details about
enabling remote operations and the enhanced GUIs.
Options
When no options or operands are specified, swjob lists the jobs that exist on the local host. These jobs
may be pending, active, in the background or completed. The swjob command supports the following
options:
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 483