1832630 Members
2650 Online
110043 Solutions
New Discussion

Invalid argument command

 
SOLVED
Go to solution
Achilles_2
Regular Advisor

Invalid argument command

Hi all,

I found that some command argument is missed. For example, when I use the command “ps –efx”, it shows the invalid argument for “-x”. I have checked the version of ps command:

HP-UX Release 11.00: January 2002

Is it any patch for this problem?

Thank
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Invalid argument command

Yes, there is a patch that enables the '-x' argument to ps. For 11.0 the most recent ps cumulative patch (which will enable the '-x' for you) is PHCO_30559

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_30559&context=hpux:800:11:00

Note that this patch has dependencies, so you will need this patch plus a lot more to ensure that everything works correctly. When you click the "add to selected patch list" button you will see all the required dependent patches.
Achilles_2
Regular Advisor

Re: Invalid argument command

After I installed the patch PHCO_30559, I use the command "ps -efx", but it get the following message:
ps: pstat failure

What do I do? Thanks.

Alex
Mike Stroyan
Honored Contributor

Re: Invalid argument command

That patch has explicit dependencies on patches PHKL_25999 and PHKL_26008. You will need to install those as well. Those have superseding patches that you might want to use instead. Remember to look at the dependencies list of the patches that you choose.