HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- meaning of commented lines in 'swlist -l patch' ou...
Operating System - HP-UX
1833294
Members
2903
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2010 03:48 AM
05-26-2010 03:48 AM
meaning of commented lines in 'swlist -l patch' output
Hi
'swlist -l patch' contains lots commented(#) data. what is the differece between the commented and uncommented lines in swlist output.
PHKL_29494.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
PHKL_29494.KERN2-RUN 1.0 OS-Core.KERN2-RUN applied
# PHKL_29494 1.0 SCSI Ultra160 Cumulative Patch
# PHKL_29494.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
# PHKL_29494.KERN2-RUN 1.0 OS-Core.KERN2-RUN applied
From the above example can anybody explain what is the commented and uncommented lines meaning ?
Thanks in advance
Chanthu
'swlist -l patch' contains lots commented(#) data. what is the differece between the commented and uncommented lines in swlist output.
PHKL_29494.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
PHKL_29494.KERN2-RUN 1.0 OS-Core.KERN2-RUN applied
# PHKL_29494 1.0 SCSI Ultra160 Cumulative Patch
# PHKL_29494.CORE2-KRN 1.0 OS-Core.CORE2-KRN applied
# PHKL_29494.KERN2-RUN 1.0 OS-Core.KERN2-RUN applied
From the above example can anybody explain what is the commented and uncommented lines meaning ?
Thanks in advance
Chanthu
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2010 04:36 AM
05-26-2010 04:36 AM
Re: meaning of commented lines in 'swlist -l patch' output
Hi:
The commented entries point to the contents of the object:
For example:
# swlist -l patch|grep PHCO_36032
PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE committed
# PHCO_36032 1.0 killall(1M) cumulative patch
# PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE committed
...
# swlist PHCO_36032.UX-CORE
# Initializing...
PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE
/usr/sbin/killall
Regards!
...JRF...
The commented entries point to the contents of the object:
For example:
# swlist -l patch|grep PHCO_36032
PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE committed
# PHCO_36032 1.0 killall(1M) cumulative patch
# PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE committed
...
# swlist PHCO_36032.UX-CORE
# Initializing...
PHCO_36032.UX-CORE 1.0 OS-Core.UX-CORE
/usr/sbin/killall
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2010 10:26 PM
05-26-2010 10:26 PM
Re: meaning of commented lines in 'swlist -l patch' output
This is actually documented under swlist(1m):
OPERATION
The output from swlist follows this rule with all options: only the lowest level listed (product, subproduct, fileset or file) will be uncommented. Among other things, this allows the output from swlist to be used as input to other commands.
OPERATION
The output from swlist follows this rule with all options: only the lowest level listed (product, subproduct, fileset or file) will be uncommented. Among other things, this allows the output from swlist to be used as input to other commands.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP