UNIX is one of the earliest operating systems and also known for its stability and robust nature. The function of an operating system is to organize various parts of the computer like the processor, disk drives, keyboards, monitors, processors to perform tasks. UNIX was created in late 1960’s in order to provide a multi-user, multitasking system for the programmers. In other words, the UNIX was designed to provide simple approach that might piece tighter the utilities in a flexible manner to perform, variety of task. UNIX is made up of three parts, which are Kernel, Standard Utility Programs and System Configuration files.
When an application is run on UNIX whether started by system or the user is called a process. Each process is given a unique number (the PID) so that the operating system can keep track of what the process is doing and also how the resources should be allocated. Each process has an owner and the task or applications started by a user are owned by that user. A user can only stop the processes that are owned by the particular user. In short, the root user can kill/stop any process that is running.
To kill the process, one must open a terminal session where the commands are applied. The list of all the process running on the computer along with the process identification number (PID) can be known, by the command "ps – aix" which located the process. If you know the application’s name, you can use the command "ps" with the ‘grep’ command.
You can also kill the processes with the PID like "kill
. Fox example is the PID is "22116", then "kill 22116" will stop that process. To ensure the process has stopped, again use the command "ps – aux". Finally to close the terminal session, the "exit" command is used.
Chris is the writer of this article , you can visit us for more information on kill process unix and kill process windows.
Loading...