Friday, June 24, 2011

pstree

pstree - Shows the process tree for the current user.

source:http://kbhaskar.in/10-linux-commands-you-probably-not-know-about/

“pstree” can be used for system administration tasks. Like, if you wish to see which process was started by what program, then this command will be useful.

Syntax: pstree [OPTIONS] [PID] [USER]

Example:

2
3
4
$ pstree # Shows all running processes for the current user
$ pstree 2747 # Shows the process tree for the pid specified

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.