Sunday, November 24, 2019
CIS206 U4 Research Assignment Example
CIS206 U4 Research Assignment Example CIS206 U4 Research Assignment ââ¬â Coursework Example Controlling active processes in UNIX Insert Insert 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 shows 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 making up a particular job. In addition, it shows the 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 enable 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 use 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. ReferencesService, U. o. (June 2006). Managing your UNIX processes. Durham: University of Durham Information Technology Service.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.