15.2 Listing Installed Software

   

The installed software can be listed using the swlist command. By default, the swlist command lists all software bundles and all products that are not part of a bundle. A typical output of the command is:

 # Initializing... # Contacting target "myhp"... # # Target:  myhp:/ # # # Bundle(s): # 82491BA                       B.11.00        MirrorDisk/UX B3693AA                       C.02.15.000    HP GlancePlus/UX for s800   11.00 B3701AA                       B.11.00.41     HP GlancePlus/UX Pak for   s800 11.00 B3835BA                       B.11.02        HP Process Resource   Manager B3901BA                       B.11.01.06     HP C/ANSI C Developer's   Bundle for HP-UX 11.00 (S800) B3919EA_AGL                   B.11.00        HP-UX 8-User License B3929BA                       B.11.00        HP OnLineJFS (Advanced   VxFS) B4967AA                       C.02.15.000    HP MeasureWare Server   Agent for s800 11.00 B5725AA                       B.1.51         HP-UX Installation   Utilities (Ignite-UX) HPUXEng64RT                   B.11.00        English HP-UX 64-bit   Runtime Environment Ignite-UX-11-00               B.1.51         HP-UX Installation   Utilities for Installing 11.00 Systems J1642AA                       B.11.00.03     HP PCI/HSC Gigabit   Ethernet Driver XSWGR1100                     B.11.00.43     HP-UX Extension Pack,   December 1998 # # Product(s) not contained in a Bundle: # PHCO_14084                    1.0            csh(1) patch PHCO_14257                    1.0            pwgrd consumes CPU when   time set backwards PHCO_14786                    1.0            Locales Y2K patch PHCO_14859                    1.0            cumulative 10.20 libc   compatibility support PHCO_14887                    1.0            cumulative SAM/ObAM patch PHCO_15217                    1.0            Cumulative SCCS(1)   including Year 2000 Fix 

You can use the options shown in Table 15-1 with this command to get a list of the installed software.

Table 15-1. Options Used with swlist Command
Option Meaning
-l bundle List bundles only
-l products List products
-l fileset List filesets
-d @ /var/spool/sw List software in depot /var/spool/sw
-l file X11 List all files that are part of the X11 product
-d @ hp1:/mydepot List software in depot named mydepot on host hp1

Partial output of the swlist -l product command is as follows .

 # Initializing... # Contacting target "myhp"... Package-Manager       A.11.04        HP Package-Manager PatchText                            Patch Documentation Files PrinterMgmt           B.11.00        PrinterMgmt Proc-Resrc-Mgr        B.11.02        HP Process Resource Manager ProgSupport           B.11.00        ProgSupport SCSI-Passthru         B.11.00        HP SCSI-Passthru Driver SOE                   B.11.00        SOE SUPPORT-TOOLS         B.11.00        HP SUPPORT TOOLS SW-DIST               B.11.00        HP-UX Software Distributor SecurityMon           B.11.00        SecurityMon ServiceGuard          A.11.04        Service Guard SourceControl         B.11.00        SourceControl Spelling              B.11.00        Spelling Streams               B.11.00        HP-UX_10.0_Streams_Product Streams-TIO           B.11.00        HP-UX_10.0_Streams-TIO_Product SystemAdmin           B.11.00        HP-UX System Administration Tools SystemComm            B.11.00        System Communication utilities -   ct,cu,ptydaemon,vt,kermit TechPrintServ         B.11.00        HP-UX Technical Image Printing   Service TerminalMngr          B.11.00        TerminalMngr TextEditors           B.11.00        TextEditors TextFormatters        B.11.00        TextFormatters UUCP                  B.11.00        Unix to Unix CoPy Upgrade               B.11.00        Upgrade UserLicense           B.11.00        HP-UX User License WDB                   B.11.01.06     HP Wildebeest (HP WDB) Debugger X11                   B.11.00        HP-UX X Window Software X11MotifDevKit        B.11.00.01     HP-UX Developer's Toolkit - X11,   Motif, and Imake Xserver               B.11.00        HP-UX X Server 

The swlist command can also be used to list software attributes such as size , revision, and vendor information.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net