Problem
You want to display processes, commands within the process tree.
Solution
There are a number of ways to search the process tree.
Here are a few:
Show all processes for user apache.
ps -fu apache
Show all process on a given terminal (try command tty to see your own)
ps -ftpts/0
Example
Show a given process
ps -fpPID