command: pstree
usage: display a tree of processes

syntax: $ pstree pstree [ -a ] [ -c ] [ -h | -H PID ] [ -l ] [ -n ] [ -p ]
[ -u ]
                                   [ -A | -G | -U ] [ PID | USER ]

examples:

1. To display process tree based on PID

    $ pstree <PID>

    $ pstree 5050

2. To display process tree for an user

    $ pstree <user>

    $ pstree dhana

3. To display all processes in hierarchical structure

    $ pstree | more

4.  To display the command line arguments associated
     with a particular process.

    $ pstree -a dhana

5. To display the current process and its ancestors

    $ pstree -h

6. To show PID's

    $ pstree -p

7. To print options and help

    $ pstree --help



regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to