Unix/Linux Go Back    


Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

ptree for linux

Gentoo


Tags
linux commands, unix commands

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-22-2008   -   Original Discussion by james.witte
james.witte james.witte is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 3 June 2012, 11:53 PM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
ptree for linux

at work, I'm a UNIX administrator, but at home I use openSUSE 11. One of the commands that I use to assist me in trouble shooting A LOT is called ptree process tree. does anyone know of a ptree for linux? yes, I can just use ps -ef and see who the parent pid is and then 'ps -ef | grep <parent pid>' and so on. but ptree does it all for me and lays it out nice and neat. call me a whiner, but I miss ptree. please help.

thanks in advance
Sponsored Links
    #2  
Old Unix and Linux 10-22-2008   -   Original Discussion by james.witte
vampirex vampirex is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 8 July 2010, 7:13 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
try:

ps --forest -eaf
Sponsored Links
    #3  
Old Unix and Linux 10-22-2008   -   Original Discussion by james.witte
james.witte james.witte is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 3 June 2012, 11:53 PM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
thank you. I will try that when I get home from work.
    #4  
Old Unix and Linux 10-22-2008   -   Original Discussion by james.witte
sethcoop sethcoop is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 8 April 2009, 10:58 AM EDT
Location: United States
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
what about "pstree -p"... give that a shot.
Sponsored Links
    #5  
Old Unix and Linux 10-22-2008   -   Original Discussion by james.witte
vampirex vampirex is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 8 July 2010, 7:13 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
or better yet, change to gentoo (cos it has pstree command)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
similar command of ptree in linux raghu.iv85 Linux 3 02-12-2011 02:28 AM
prstat from ptree ... RickTrader Shell Programming and Scripting 4 02-11-2010 10:43 AM
pfiles and pstack and ptree bdsffl Red Hat 1 01-06-2009 10:15 PM
killing PID's of ptree abhijeetkul Shell Programming and Scripting 0 06-20-2006 08:16 AM
Meaning of ps -afe ,ps -fp and ptree PradeepRed Shell Programming and Scripting 1 02-01-2006 04:19 PM



All times are GMT -4. The time now is 01:28 PM.