swm(1M)swm(1M)NAMEswm - Software Manager - update, install, and list software
SYNOPSIS
option_file]
selections_file] source] option_file] [[software_selections]...]
attribute] software_file] list_level] output_mode] output_format]
source]...] option_file] [[software_selections]...]
selections_file] source] option_file] [[software_selections]...]
option_file] [[job_id]...]
option_file] job_id
attribute] option_file] [[job_id]...]
output_mode] option_file] job_id
NOTE
The list and install major modes are not supported in this release.
Options, modes and behavior will change in future versions. These com‐
mands are provided for evaluation purposes only.
DESCRIPTION
The Software Manager command provides a command-line interface(CLI) and
Terminal User Interface(TUI) to manage software (bundles, products,
subproducts and filesets). Users familiar with SD (swinstall, swre‐
move, etc) will notice that is a single command with major modes, as
opposed to multiple commands.
extends the functionality provided by SD, most notably it has the abil‐
ity to update from one operating environment to another. sd(4)
describes the SD software object classes, their attributes, and the
file formats used to store their definitions.
The command has four major_modes of operation:
Installs software. See swm-install(1M).
Lists software. See swm-list(1M).
Provides job control interface to existing jobs. See swm-
job(1M).
Updates an operating environment (OE). See swm-oeupdate(1M).
The major_modes are similar to the following commands:
The following
options are
recognized by
most swm modes:
Displays the usage
message.
Displays the available
attributes.
Displays the list of
possible
(extended)
options.
Launches interactive
user interface.
(Mutu‐
ally
exclu‐
sive
with
Sets preview mode.
(Mutually exclusive
with -i.)
The verbosity level is
decreased by one for
each time
is
speci‐
fied.
(See
also
the
option).
The verbosity level is
increased by one for
each time
is
speci‐
fied.
(See
also
the
option).
Interactive Operation
The command can be called
with or without the option to
invoke the TUI. Major modes
install, oeupdate and job can
be used with no options or
with the option to invoke the
TUI and skip its major mode
selection screen. However,
instead of bringing up the
TUI, the list major mode used
without the option will list
the software installed on the
system.
RETURN VALUE
The major modes return the
following values:
Success.
Error.
Warning.
EXAMPLES
Display swm usage informa‐
tion:
Launch swm interactively:
Display all swm attributes:
Display all swm extended
options:
swm install Examples
Display usage for the major
mode:
Install everything from
To reinstall
To do a "dry run" or preview
showing what is selected to
stdout, but turning off
actual installation and anal‐
ysis:
To turn on several (poten‐
tially dangerous) options
that allow a product to be
installed:
swm job Examples
To bring up the TUI job man‐
agement screen:
To list jobs:
To cancel a job named
To continue a suspended job
named
To delete a job named
To delete all completed jobs:
To list all jobs with verbose
information:
To list all job attributes:
To list just the job_id,
major mode, and status of all
jobs:
To list all jobs whose status
is completed:
To delete all jobs that have
an error count greater than
2:
To list jobs through
To list all jobs created
after Jan 1, 2005:
To delete all completed jobs
that are older than one year:
To show the high level status
for two specific jobs:
To get a text version of a
particular job's log showing
only errors and warnings:
To get an xml version of a
particular job's log:
To get an xml version of a
particular job's log on the
TUI:
To list software installed on
a system:
To list depots on the current
system:
To list depots on a remote
system named and in the
directory:
To list the perl product as
installed on a system:
To list contents of the depot
on system
To list several attributes of
the perl product:
To print a table of software
installed with revisions and
include a header:
To print the software specs
for all software, with the
title in a specific maximum
field width of 20:
To show software in a flat
listing:
To show software in parseable
xml format:
To show all software:
To invoke the terminal user
interface with specific
source pre-selected:
swm oeupdate Examples
To update from the OE depot
on an HP-UX 11i OE DVD
mounted at and have it match-
select the software on your
system:
To update from the OE depot
on an HP-UX 11i OE DVD
mounted at specifying the
base OE:
The example above
updates the HP-UX 11i
Operating Environment
(OE).
To update to HPUX11i-OE and
include the HP-UX Bastille
Security Configuration bun‐
dle:
To interactively select soft‐
ware for an update, use the
-i option:
To update the operating envi‐
ronment (OE), explicitly to
the MCOE:
To update all the software
that is part of the OE except
Mozilla:
To select all of HPUX11i-OE
except for Perl, which is
part of HPUX11i-OE, you could
specify the following:
AUTHOR
was developed by HP.
FILES
System-wide SWManager config‐
uration file.
Per-user SWManager configura‐
tion file.
Template file that documents
each -x option.
Log file.
SEE ALSOswm-oeupdate(1M), swm-
job(1M), swm-install(1M),
swm-list(1M), sd(4).
swm(1M)