How do I know which processes are running and who own the process?
Use ps aux | grep mongodb
. It returns the processes running in the computer whose name contains mongodb. Search for the mongodb process in that list. The first column has the user who runs the process.
The answer from Manula is correct, but if you like graphical tools, gnome-system-monitor, is an excellent tool that comes in Ubuntu, and it quickly and easy let's you see user process, kill then, see system info, file system, etc.
All you need to do is terminal type:
gnome-system-monitor
Or in dash type system-monitor
and it shoud appear.
Source of image