I'm able to find processes using
ps. That's no problem.
Sometimes I find that some processes are taking up a lot of memory or cpu and I'm trying to identify what the root program is.
For instance, the process
sort sometimes just ends up taking 2-3 gigs of memory over like 4 hours. I'd like to know what program initiated the
sort process so I can try and fix it.