Question: Process Management Write a bash command that will display the process id, parent process id, and wait channel (search for wchan in man ps) for

Process Management

  1. Write a bash command that will display the process id, parent process id, and wait channel (search for wchan in man ps) for all processes on the server. Do not display any additional information.
  2. Write a bash command that will kill job 1.
  3. Write a bash command that will print a list of signal names.
  4. Write a bash command that will list all processes owned by your UID. Make sure to use your UID, not your userid.
  5. Write a bash command that will kill all processes owned by your UID that are NOT executing either 'sshd' or 'bash'. Be careful when testing this command! An 'sshd' process is an SSH controller for a remote login, and a 'bash' process typically is a login shell. If you kill either one of these you will have to re-connect to the server.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!