|
Fedora LinuxTo kill PID 48292: $ kill 48292 Again, if that doesn't work within a reasonable period of time, add the -KILL argument: $ kill -KILL 48292 4.9.2. How Does It Work? The Linux kernel has only two basic functions for starting processes: fork( ) and exec( ) . fork( ) makes an exact copy of the current process and starts it running. exec( ) replaces the currently running program with a new program, running in the same process. So to get a new program running, the shell uses fork( ) to create a child process (a copy of the shell) and then uses exec( ) to change the program running in the child process. When a child process is created, a number of variables are inherited from the parent process, including the real and effective user IDs, the real and effective group IDs, the umask , the terminal, the current working directory, and the environment variables. Processes are generally permitted to run on a CPU until their timeslice the amount of time allocated to them by the scheduling algorithmis over, at which point another process is scheduled to be run ...» | Код для вставки книги в блог HTML
phpBB
текст
|
|