HP-UX System Administrator's Guide: Routine Management Tasks

Table 5-2 Example Tasks and Commands
CommandExample Task
swlist
To list the software installed at root (/) on your
local system
swlist -d @ /mydepot
To list the software in the depot named
/mydepot
swlist -l depot @ appserverTo list the depots on appserver
swlist -l file LVM
To list all files that are part of the LVM product
swlist -i
To list files using the SD-UX graphical user
interface on 11.x
You can use HP SMH to list software:
1. Access the HP SMH Homepage.
2. Select Tools, Software Management, and List Depot Software (or List Installed
Software). This will display the List Depot Software page.
NOTE: If your client console is a PC, you must have an X Window Server running
before executing these functions.
3. If needed, enter the address of the target display console. Click on the Run button.
An X Window is displayed showing a list of software bundles available in the
depot. If the default location for the software bundles is not correct or if you wish
to list software bundles on a different system or directory, you can enter the new
address.
See the swlist(1M) manpage for additional information.
Removing Software
To remove software, use /usr/sbin/swremove. You select the software to remove
and the system checks dependencies between selected and remaining software. If a
fileset is required by another bundle, that fileset is not removed. See the swremove(1M)
manpage.
SD-UX Roles
Within your environment, an individual system can play one or more SD-UX roles:
development host, local host, or network host (distribution depot). The SD-UX command
determines the specific role a host plays and therefore its role can change at any time.
Software is created on the development environment and individual filesets are
“packaged” for further distribution. The SD-UX swpackage command prepares
software products and filesets so they can be easily distributed and managed by other
SD-UX commands.
Software Distributor (SD-UX) 185