Beginning to get a feel for unix and have some difficulties finding commands for process controls. As an user that is NOT root, I am trying to find out...
(1) the process id of current shell, (2) its parent process’s process id, (3) how many processes this user is running, (4) how many of processes are running on the machine, (5) how many are sleeping, how many are stopped, (6) how much total memory your machine has, (7) how much of that is used and how much is free. (8) how to determine whether or not a process is using more than X amount of memory (9) how to suspend a process temporarily for investigation purposes and how to resume it again (10)terminating a process and ensuring it is in fact, terminated
A friend recommended me to use
but I am having trouble navigating it. If you could also share a great general resource for unix commands it would be much appreciated.