How do I check hp-ux software is installed properly?



  • After installing the hp-ux operating system or install software via swinstall, you can verify that the software is properly installed, configured, and check general status by running the following command:

    # /usr/sbin/swlist -a state -l fileset
    Initializing...
    Contacting target "unixbod"...
    Target: unixbod:/
    ATOK
    ATOK.ATOK-COM configured
    ATOK.ATOK-RUN configured
    Accounting
    Accounting.ACCOUNTNG configured
    Accounting.ACCOUNTNG2 configured
    Accounting.ACCT-ENG-A-MAN configured
    ...
    ...
    ...
    

    You can also verify software using the swverify command, swverify works at a software bundle level

    Get a list of your bundles:

    # swlist -l bundle
    Initializing...
    Contacting target "apt1h003"...
    Target: apt1h003:/
    
    10GigEthr-00 B.11.31.0709 PCI-X 10 Gigabit Ethernet;Supptd HW=AB287
    B6848BA 1.4.gm.46.16 Ximian GNOME 1.4 GTK+ Libraries for HP-UX
    BUNDLE B.2008.01.23 Patch Bundle
    Base-VXFS B.11.31 Base VxFS File System 4.1 Bundle for HP-UX
    Base-VXVM B.4.10.032 Base VERITAS Volume Manager Bundle 4.1 for HP-UX
    BaseLVM B.11.31.0709.01 Logical Volume Manager
    CDE-ChineseS B.11.31 Simplified Chinese CDE Environment
    CDE-ChineseT B.11.31 Traditional Chinese CDE Environment
    CDE-English B.11.31 English CDE Environment
    CDE-French B.11.31 French CDE Environment
    ...
    ...
    

    Then run swverify, at the end of the output look for status of Verification succeeded

    # swverify 10GigEthr-00
    

Log in to reply
 

© Lightnetics 2024