- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ps -aef command in HP UX
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
тАО06-19-2010 06:32 PM
тАО06-19-2010 06:32 PM
ps -aef command in HP UX
# ps -aef
# uname
HP-UX
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 09:33 PM
тАО06-19-2010 09:33 PM
Re: ps -aef command in HP UX
ps -aef should run. You can alternativel run pa -ef. You also can check the man page of ps command or the below link:
http://docs.hp.com/en/5991-6469/ch09s20.html
rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 11:46 PM
тАО06-19-2010 11:46 PM
Re: ps -aef command in HP UX
>> Not able to get the output after running the ps -aef command in HP UX.!!
This is wierd.
Try the PS command with other options and check how that behaves.
i.e. whether you get any output or not.
The following link talks about the PS command and its various options -
http://docs.hp.com/en/B3921-60631/ps.1.html
Read though the above link and try PS command with various other options
and let us know whether it displays any output or not.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 01:08 AM
тАО06-20-2010 01:08 AM
Re: ps -aef command in HP UX
# /usr/bin/ps -aef
If that works, the output of these commands might help in finding out why ps without path does not work:
# whence ps
# echo $PATH
# set
If running the ps command with an explicit path does not work either, you should verify that the ps command has not been manipulated or corrupted:
# file /usr/bin/ps
# swverify OS-Core
(At the end of swverify output, there will be a swjob command line you can use to view the results of the swverify job. Run it and see what it says about /usr/bin/ps.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 01:55 AM
тАО06-20-2010 01:55 AM
Re: ps -aef command in HP UX
Something very important is missing here: what do you mean "get the output"? Do you mean that ps produced NO result at all? Or it gave you an error? What was the error message?
As mentioned, someone may have aliased ps so bypass the alias by using the fullpath for ps:
/usr/bin/ps -aef
> # uname
> HP-UX
Not very useful. uname -a would have been a bit more useful.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 07:03 PM
тАО06-20-2010 07:03 PM
Re: ps -aef command in HP UX
Thanks for all your replies.!!!
The ps file was missing on that server. I have recovered it from the other one.
Now its working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2010 07:34 PM
тАО06-20-2010 07:34 PM
Re: ps -aef command in HP UX
how come u had no error.
any alias or smthing.
BR,
Kapil+