- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what is the similar command of ptree (SOlaris) in ...
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
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-18-2006 12:59 AM
тАО02-18-2006 12:59 AM
what is the similar command of ptree (SOlaris) in HP-ux
can you tell me what is the command that can be used to check the process tree for any PID in hp-ux.
In solaris , we can use ptree..
what about in hp-ux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2006 01:12 AM
тАО02-18-2006 01:12 AM
Re: what is the similar command of ptree (SOlaris) in HP-ux
please see previous thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=956356
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2006 01:37 AM
тАО02-18-2006 01:37 AM
Re: what is the similar command of ptree (SOlaris) in HP-ux
http://bhami.com/rosetta.html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2006 02:12 AM
тАО02-18-2006 02:12 AM
Re: what is the similar command of ptree (SOlaris) in HP-ux
# UNIX95= ps -efH
Note that the use of the UNIX95 variable persists *only* for the command line. There is a blank (space) after the equal sign and before the 'ps'.
The '-H' (hierarchy) option is the "tree" you want. It is only available under XPG4 (UNIX95) behavior on HP-UX.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2006 07:23 PM
тАО02-19-2006 07:23 PM
Re: what is the similar command of ptree (SOlaris) in HP-ux
There is no exact equivalent , but got one script from the forum archive which can help you achieving the same functionality.
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2006 07:31 PM
тАО02-19-2006 07:31 PM
Re: what is the similar command of ptree (SOlaris) in HP-ux
# UNIX95= ps -ef -H
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2006 08:07 PM
тАО02-19-2006 08:07 PM
Re: what is the similar command of ptree (SOlaris) in HP-ux
see my script pidtree in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1001424
HTH,
Art