Sponsored Content
Full Discussion: ptree for linux
Operating Systems Linux Gentoo ptree for linux Post 302250177 by vampirex on Wednesday 22nd of October 2008 08:34:44 PM
Old 10-22-2008
try:

ps --forest -eaf
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Meaning of ps -afe ,ps -fp and ptree

Hello, I was searching for the meaning of commands like ps -afe ,ps -fp and ptree but was not able to find there exact meaning .... Pls help me in getting these... Thanks in advance, Pradeep (1 Reply)
Discussion started by: PradeepRed
1 Replies

2. Shell Programming and Scripting

killing PID's of ptree

gurus, normally to stop a process ,i need to kill all its child & then parent process. i do it manually as follows bash-2.03$ ps -ef | grep bpm|grep -v grep tibadmin 21882 21875 0 May 27 ? 0:00 /bin/sh ./bpmse_20.sh -Xms512m -Xmx512m /tibco/UpdateCustomer/dat/UpdateCustome ... (0 Replies)
Discussion started by: abhijeetkul
0 Replies

3. Shell Programming and Scripting

equivalent of ptree command in zsh

ptree command is not working in zsh. Could anyone let me know the equivalent of ptree command in zsh. (3 Replies)
Discussion started by: dhams
3 Replies

4. Red Hat

pfiles and pstack and ptree

Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies

5. Solaris

kill the processes seen under ptree

Hi, How to kill the processes running under ptree ? I am noticing lot of processes running under ptree with ssh ? I tried to kill with -9 option which is not working ? Thanks, Radhika. (2 Replies)
Discussion started by: radhirk
2 Replies

6. Shell Programming and Scripting

prstat from ptree ...

Hi, I know how to figure out the list of PID from my application name : ptree `pgrep MyApp` | awk '{print $1}' But I dont know how to pipe it for prstat -p <pidlist> ptree `pgrep MyApp` | awk '{print $1}' | prstat -p ??? I would like to monitor every ptree PID from my application. ... (4 Replies)
Discussion started by: RickTrader
4 Replies

7. Shell Programming and Scripting

ptree equivalent for IBM machine

Hi does anyone know of the equivalent of "ptree <PID>" command which can be used on IBM (AIX) machine. I was trying to use "ptref" but it produces too many lines of "unrelated " to the PID output. May be someone has this issue before. Thanks a lot -A (2 Replies)
Discussion started by: aoussenko
2 Replies

8. Solaris

rlogin under ptree (vsh is high)

Hi, Recently did a ptree on a vsh PID and found that the only child process underneath the vsh parent is rlogin (telnet session(s)). Is there any way to drill down further from here? What causes rlogin to make vsh go high or is it rlogin? The cpu utilization at times is at 48-49%. We want to... (0 Replies)
Discussion started by: troystevens
0 Replies

9. Linux

similar command of ptree in linux

Hello guys, Is there any command to check the all child processes of a process like `ptree`? ptree is not working in Linux.. Regards, Raghu (3 Replies)
Discussion started by: raghu.iv85
3 Replies

10. UNIX for Advanced & Expert Users

[Tip] ptree for Linux

Unix (and Linux) uses a process tree that gives a natural security, by simple inheritance of attributes. The following ptree script shows it. It runs on all Linux flavors. Mostly useful for debugging. #!/bin/sh # Solaris style ptree && exec /usr/bin/ptree "$@" ... (6 Replies)
Discussion started by: MadeInGermany
6 Replies
dr_symlinks(1)							  USER COMMANDS 						    dr_symlinks(1)

  NAME
      dr_symlinks - maintain a symlink forest

  SYNOPSIS
      dr_symlinks

  DESCRIPTION
      For each pair directory/subdirectory under each word in DR_SL_TARGETS, a directory and symlink DR_SL_SOURCE/directory/symlink is created (or
      adjusted).  The script is implemented as a wrapper around oggsymlinks, by Wessel Dankers.

  EXAMPLE
      If, in the configuration file $HOME/.draai/symlinksrc, DR_SL_SOURCE is set to /srv/audio and DR_SL_TARGETS is set to "../data/a  ../data/b",
      while directories

       /srv/data/a/And_You_Will_Know_Us_By_the_Trail_of_Dead/Source_Tags_And_Codes/
       /srv/data/a/And_You_Will_Know_Us_By_the_Trail_of_Dead/The_Century_of_Self/
       /srv/data/a/John_Coltrane/A_Love_Supreme/
       /srv/data/b/John_Coltrane/Giant_Steps/
       /srv/data/b/Tinariwen/Amassakoul/

      exist, the following directories holding the following symlinks will get created in /srv/audio/ :

       And_You_Will_Know_Us_By_the_Trail_of_Dead/Source_Tags_And_Codes ->
	../../../a/And_You_Will_Know_Us_By_the_Trail_of_Dead/Source_Tags_And_Codes/
       And_You_Will_Know_Us_By_the_Trail_of_Dead/The_Century_of_Self ->
	../../../a/And_You_Will_Know_Us_By_the_Trail_of_Dead/The_Century_of_Self/
       John_Coltrane/A_Love_Supreme -> ../../../a/John_Coltrane/A_Love_Supreme/
       John_Coltrane/Giant_Steps -> ../../../b/John_Coltrane/Giant_Steps/
       Tinariwen/Amassakoul -> ../../../b/Tinariwen/Amassakoul/

      All dangling symlinks and empty directories (if any) under /srv/audio/ will get removed. This script is idempotent.

  ANOTHER EXAMPLE
      joostvb@hille:~% ls media/usb/audio/200504/Al_Green
      The_Very_Best_Of/

      joostvb@hille:~% ls media/usb/audio/
      200504/  200708/	200801/  200805/  200807/  200812/  200910/  201005/  201009/
      200609/  200712/	200803/  200806/  200808/  200905/  201004/  201006/

      joostvb@hille:~% cat .draai/symlinksrc.usb

      DR_SL_SOURCE=~/media/audio
      DR_SL_TARGETS="$( cd $DR_SL_SOURCE && ls -d ../usb/audio/* )"

      joostvb@hille:~% DR_SL_RCFILE=.draai/symlinksrc.usb dr_symlinks

      joostvb@hille:~% ls -l media/audio/Al_Green
      total 0
      lrwxrwxrwx 1 joostvb joostvb 48 2011-03-11 09:12 The_Very_Best_Of -> ../../usb/audio/200504/Al_Green/The_Very_Best_Of/

  ENVIRONMENT
      dr_symlinks honors booleans: DR_SL_VERBOSE, DR_DEBUG and DR_DRYRUN and strings: DR_SL_RCFILE, DR_SL_TARGETS and DR_SL_SOURCE.

  FILES, CONFIGURATION
      All configuration variables (see ENVIRONMENT) can be set in ~/.draai/symlinksrc. This rc-file is sourced as a shell script.  If DR_SL_RCFILE
      is set, its value is assumed to be the dr_symlinks rc-file.

  COPYRIGHT AND LICENSE
      This manpage is copyright 2009, 2011 Joost van Baal <joostvb-draai@mdcc.cx>.

      Draai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, as published by the Free
      Software	Foundation,  either  version 3 of the License, or (at your option) any later version. This program is distributed WITHOUT ANY WAR-
      RANTY. You should have received a copy of the GNU General Public License along with draai. If not, see http://www.gnu.org/licenses/.

  AUTHOR
      Joost van Baal <joostvb-draai@mdcc.cx>

  dr_symlinks 20110603						     03 juin 2011						      dr_symlinks(1)
All times are GMT -4. The time now is 02:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy