On the Linux box save the following script as "ptree":
Now run e.g.
ptree 586 or
ptree 9282 or
ptree 9283
and you'll get the relevant branch from the ps tree.
This User Gave Thanks to MadeInGermany For This Post:
I'd like to list all ports and the services allocated to them:
1) What commands will do this on Solaris 10 and Linux?
2) Is there a file containing the port/service mapping? (1 Reply)
Hi,
My apologies if my query is already available on this forum but I am new and could not find.
I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this?
... (4 Replies)
How can i install tree command in ubundu without root ? I have found some shell script which does the same job as tree but i would like to get all the options in tree command
thanks (2 Replies)
Hi Frndz,
I am new to the makefile generation.
I have a source code which contains makefiles in each sub-directories.
Previously we have used the entire source code in Dtbuild environment to get the executables. Now have to change the current Dtbuild environment to Linux build... (1 Reply)
I'm an trying to install U6 on Xen in Opensolaris. I would like to make this VM para-virtualized to maximize performance but it requires an install tree. I'm not real familiar with an install tree. I can use full virtualization and use an .iso which I have without issues but I would like to use the... (1 Reply)
In DOS, to get the complete directory structure, we use 'TREE' command..
can anyone tell me what is the equivalent command in Unix
I am using
SunOS ABC 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Fire-V240
thanks.. (1 Reply)
I m not able to copy the text present on the tree's node to terminal or other text editor in solaris. I m using <Shift><control> C and V comaand for the same but the text is not being copied and pasted on the text pad or the terminal window.
While the same is possible in windows OS using ctrl+c... (3 Replies)
Hi,
I want to find the total size of some directory trees in my solaris 9 machine.
Is there a command or utility I can use to do it. Please let me know if there is
any way.
Thanks
Akheel (1 Reply)