You want to display processes, commands within the process tree.
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)
Show a given process
[tags], Unix Coding School[/tags]
[/reference]If you have found my website useful, please consider buying me a coffee below 😉