- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Linux Vs HP Commands
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
Forums
Discussions
Discussions
Discussions
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
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
03-13-2008 04:48 AM
03-13-2008 04:48 AM
coreutils-6.9-9.fc8
will return rpm name from where ls commad came.
What is a command to know the same in HP-UX?
[NO rpm in hp only package & pathces]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 04:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 05:04 AM
03-13-2008 05:04 AM
Re: Linux Vs HP Commands
# swlist -l file |grep /bin/ls
OS-Core.CMDS-MIN: /usr/bin/lsacl
OS-Core.UX-CORE: /usr/bin/ls
OS-Core.UX-CORE: /usr/bin/lsf
OS-Core.UX-CORE: /usr/bin/lsr
OS-Core.UX-CORE: /usr/bin/lsx
PHCO_27415.UX-CORE: /usr/bin/ls
PHCO_27415.UX-CORE: /usr/bin/lsf
PHCO_27415.UX-CORE: /usr/bin/lsr
PHCO_27415.UX-CORE: /usr/bin/lsx
The output indicates that the ls command (the actual path is /usr/bin/ls in HP-UX) belongs to fileset "UX-CORE" within package "OS-Core". In addition, the patch PHCO_27415 contains some changes that apply to the ls command.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 05:25 AM
03-13-2008 05:25 AM
Re: Linux Vs HP Commands
Is there any site having link for packages/paches to install OS-core pkg and other PATCHES ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 05:30 AM
03-13-2008 05:30 AM
Re: Linux Vs HP Commands
Note this is very slow. You can speed this up if you are root:
# find /var/adm/sw/products -name INFO -exec grep -l /bin/ls {} +
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2008 09:27 PM
03-18-2008 09:27 PM
Re: Linux Vs HP Commands
As per ur Help I can have a name of Package and
patches too but
[root@sfqaia31][/var/adm/sw/products]which machinfo
/usr/contrib/bin/machinfo
[root@sfqaia31][/var/adm/sw/products]swlist -l file | grep /usr/contrib/bin/machinfo
OS-Core.USRCONTRB: /usr/contrib/bin/machinfo
PHCO_34710.USRCONTRB: /usr/contrib/bin/machinfo
[root@sfqaia31][/var/adm/sw/products]ll | grep OS-Core.USRCONTRB
[root@sfqaia31][/var/adm/sw/products]ll | grep OS-Core
OK its workng but ERROR :
root@sfqaia31][/var/adm/sw/products]swinstall -s /var/adm/sw/products/ PHCO_34710
======= 03/19/08 10:53:22 IST BEGIN swinstall SESSION
(non-interactive) (jobid=sfqaia31-0112)
* Session started for user "root@sfqaia31".
* Beginning Selection
* Target connection succeeded for "sfqaia31:/".
ERROR: There is currently no depot software on host "sfqaia31" at
location "/var/adm/sw/products/". Make sure that an absolute
pathname is specified for location (beginning with "/").
* Source connection failed for "sfqaia31:/var/adm/sw/products/".
WARNING: More information may be found in the daemon logfile on this
target (default location is
sfqaia31:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 03/19/08 10:53:22 IST END swinstall SESSION (non-interactive)
(jobid=sfqaia31-0112)
============LET ME KNOW HOW TO INSTALL THE PATCH OR Packages from /var/adm/sw/products/ ??????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2008 09:42 PM
03-18-2008 09:42 PM
Re: Linux Vs HP Commands
It is much easier to launch the swinstall in interactive mode to do this *simple* patch installation.
i.e.
#swinstall
Also, have you already downloaded the patch that you are trying to install?
i.e. PHCO_34710
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 12:11 AM
03-19-2008 12:11 AM
Re: Linux Vs HP Commands
There is no full package, just the metadata. You cannot use /var/adm/sw/products as an installation source.
In your example, PHCO_34710 is already installed: you should not be trying to install it again on sfqaia31 unless there is a special reason to re-install the patch.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 09:30 AM
03-19-2008 09:30 AM
Re: Linux Vs HP Commands
The site that's on the bottom of the HP-UX forum:
http://www.itrc.hp.com/service/patch/search.do?BC=main|&pageOsid=hpux
>Yogeeraj: It is much easier to launch the swinstall in interactive mode to do this *simple* patch installation.
I would say the opposite. Patches are simple to install from the command line since there are no choices.
# swinstall -s $PWD/PHCO_34710.depot \*
>have you already downloaded the patch that you are trying to install?
As MK points out, if swlist finds it in the IPD, the patch is already installed.
>MK: you should not be trying to install it again unless there is a special reason to re-install the patch.
And if so, you need to download the patch and reinstall with -x reinstall=true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2008 04:17 AM
03-25-2008 04:17 AM
Re: Linux Vs HP Commands
Q 1> I have some proceess was running on console before few minutes I have checked by
$ ps -ealf | grep console // now showing State as S means sleep no logs generating at all its like hung. How to wake up those proceess initiated by me without killing and restarting those process ...??????
[HINT : like top we can use ps -ealf process is not running in backgnd ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2008 11:13 AM
03-25-2008 11:13 AM
Re: Linux Vs HP Commands
Insufficient information. Sleep is normal if it's waiting on another process or for its time slice. It could well be hung, or it have been put in the background, could have been suspended...can't tell from your description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2008 04:23 PM
03-25-2008 04:23 PM
Re: Linux Vs HP Commands
Well, you may not be able to wake it up but you can use tusc to see what system calls are being made. It won't help if it is still sleeping. You would have to catch it sooner.
You can also use gdb to attach and see what's going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 07:08 AM
03-26-2008 07:08 AM
Re: Linux Vs HP Commands
# swa report -a SEC -a CRIT -a PW -a QPK
to review the list of recommended changes and follow with:
# swa get -t /path-to-depot
to download the recommended patches. These can then be installed using:
# swinstall -s /path-to-depot -x autoreboot=true -x patch_match_target=true
Be sure to review the manual actions listed in the initial report as many security bulletins are not resolved by a patch.
SWA is found at https://www.hp.com/go/swa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:02 PM
04-16-2008 11:02 PM
Re: Linux Vs HP Commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:10 PM
04-16-2008 11:10 PM
Re: Linux Vs HP Commands
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33