ps

This is the command line utility that allows you to get process information. It has a lot of options, really a lot. But in combination with the grep utility it will easily give you information about processes that you need.
If you enter this command - you will see currenly running processes for this particular session.

Get help:

ps --help all

Show the information that you can see in top as well:
ps aux
processes between [] - there are kernel processes, you cannot manage them with kill command.

Another way to show process properties is by using:
ps -ef
it is also showing parent process id PPID

Forest display:
ps fax
this is a nice graphical display showing you the relation between processes

ps has a lot of filtering options. One of them is:
ps aux --sort pmem