- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What fileset a particular file belongs to?
Operating System - HP-UX
1820718
Members
2865
Online
109627
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО01-29-2004 02:55 AM
тАО01-29-2004 02:55 AM
I was wondering if there is a way to determine what fileset/bundle/patch a particular file belongs to on HP-UX 11.+ systems. For example, on a Linux system with RPM installed, I would simply issue a command like: rpm -qf /usr/bin/ls and it would let me know what particular fileset/package 'ls' belongs to.
Can I do something similar on HP-UX as well without much effort or do I have to do it the old fashion way: swlist -l fileset | grep 'whatever'?
Thanks.
Can I do something similar on HP-UX as well without much effort or do I have to do it the old fashion way: swlist -l fileset | grep 'whatever'?
Thanks.
It'snever too late to learn new things...
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 03:01 AM
тАО01-29-2004 03:01 AM
Solution
Hi,
Sometimes you can do a
what filename
and a patch will be output that would help you determine where it came from.
What you might also do if you have a fairly comprehensive depot system is to do a find in the depot dir structure to look for the file.
But if the file came in through a SW package *not* installed vi SD utils (EX Oracle), then you're just out of luck.
Sometimes you can do a
what filename
and a patch will be output that would help you determine where it came from.
What you might also do if you have a fairly comprehensive depot system is to do a find in the depot dir structure to look for the file.
But if the file came in through a SW package *not* installed vi SD utils (EX Oracle), then you're just out of luck.
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 03:01 AM
тАО01-29-2004 03:01 AM
Re: What fileset a particular file belongs to?
How about the what command ?
# which ls
/usr/bin/ls
# what /usr/bin/ls
/usr/bin/ls:
$Revision: 82.2.1.2 $
PATCH_11_00: ls.o 99/09/29
Regards,
Robert-Jan
# which ls
/usr/bin/ls
# what /usr/bin/ls
/usr/bin/ls:
$Revision: 82.2.1.2 $
PATCH_11_00: ls.o 99/09/29
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 03:03 AM
тАО01-29-2004 03:03 AM
Re: What fileset a particular file belongs to?
I'm sure there's a better, more eloquent way that this, but you can do:
swlist -l file > /tmp/swlist.file
Then edit the resulting file, locate the fileset you're interested in and page back up to find which bundle it belongs to.
Pete
Pete
swlist -l file > /tmp/swlist.file
Then edit the resulting file, locate the fileset you're interested in and page back up to find which bundle it belongs to.
Pete
Pete
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP