- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Where did the file come from?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО02-04-2010 02:46 PM
тАО02-04-2010 02:46 PM
In AIX, I can use lslpp -w
In Solaris, I can grep through the contents file.
How can I do this in HP-UX?
We are using 11i v1 but the question is in general.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 03:19 PM
тАО02-04-2010 03:19 PM
Re: Where did the file come from?
swlist has a -a fileset parameter that lets you get a full list of the files associated with the depot.
A careful look at the swlist man page might provide a clue or a command.
http://docs.hp.com/en/5900-0307/index.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 03:43 PM
тАО02-04-2010 03:43 PM
SolutionYOu can look at the "file" level of your Installed Product Database with 'swlist'. For example, if I wanted to find where the '/usr/lib/tztab' file comes from I could do:
# swlist -l file |grep -i tztab
OS-Core.CORE-ENG-A-MAN: /usr/share/man/man4.Z/tztab.4
OS-Core.CORE-JPN-E-MAN: /usr/share/man/ja_JP.eucJP/man4.Z/tztab.4
OS-Core.CORE-JPN-S-MAN: /usr/share/man/ja_JP.SJIS/man4.Z/tztab.4
OS-Core.UX-CORE: /usr/lib/tztab
OS-Core.UX-CORE: /usr/newconfig/usr/lib/tztab
OS-Core.UX-CORE: /usr/old/usr/newconfig/usr/lib/tztab
# PHCO_39173 1.0 tztab(4) cumulative patch
PHCO_39173.UX-CORE: /usr/newconfig/usr/lib/tztab
PHCO_39173.UX-CORE: /usr/old/usr/newconfig/usr/lib/tztab
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 03:47 PM
тАО02-04-2010 03:47 PM
Re: Where did the file come from?
'what / which' will give some version information which you can cross reference with swlist.
'what /sbin/ksh'
/usr/bin/ksh:
$Revision: B.11.11_LR
Wed Nov 8 19:55:23 PST 2000 $
$ B.11.11_LR Oct 27 2000 00:40:10 $
Version 11/16/88
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 04:54 PM
тАО02-04-2010 04:54 PM
Re: Where did the file come from?
is the command u probably looking for.
for more information man swlist its has a lot of options.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2010 02:27 PM
тАО02-05-2010 02:27 PM
Re: Where did the file come from?
Mr. Ferguson hit the nail on the head first. I can use that command and then Kapil's command to figure out just how it was installed.
Thank you all. Points have been assigned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2010 02:33 PM
тАО02-05-2010 02:33 PM