Essays on Controlling Active Processes in UNIX Coursework

Download free paperFile format: .doc, available for editing

The paper "Controlling Active Processes in UNIX" is a delightful example of coursework on information technology. UNIX is a multiprocessing operating system. The process can either be suspended, running in the foreground or running in the background at any given time. UNIX also provides the option to set processes to run when you have logged off or run when you are not using it. To control the processes running in UNIX, you need to identify the jobs running in the background and to be able to view your processes.

Further, it involves killing the processes. Every job that is or running in the background has a number that identifies them. The command jobs show the commands started from a particular controlling terminal (Service, June 2006). When more than one terminal is running in the window, each of them will have a separate list of background jobs. The latter command will calculate the status of a job according to rules. First, the job that is most recently becomes the most current. Second, all jobs that have been stopped are more present than those that are running.

Finally, for the jobs running, the most current is the one that is first.   You can also use the jobs – I option to show the identification number of that job. The ps command is used to view information concerning the processes that are by all the users on the same system. It includes the various processes of making up a particular job. In addition, it shows how far a particular job has made progress. Ps has a variety of options custom made to display different information about the processes running on the system.

The command man ps show those options. The command control / C enables the user to kill running processes in the foreground. Those running in the background can be terminated by using the kill command. The order is to use the ps command to show you the command you want to kill, and it’ s PID. To kill the processes you have chosen using the command, kill – HUP PID. HUP sends a signal to the job for hung up thus allowing it to exit and to close the open files.

Essentially, killing a process is a necessary precaution in some circumstances when other processes need to be more processing power.  

Download free paperFile format: .doc, available for editing
Contact Us