Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-17-2008, 05:43 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 11

Rep: Reputation: 0

please help me in writing a script which will give output same as given by pstree. I was asked this question in one interview where i was told if pstree command not working then write a script which will give the output same as pstree. But i don't know from where pstree command takes parent child process information.
Old 07-17-2008, 07:39 AM   #2
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
pstree ... coming from the ps command?

You might want to give a look at this site (you can even download the script):


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please translate pstree output and inform how to manipulate it Frybyte Linux - General 1 06-19-2004 09:26 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration