From 39366733c3fe943363566756e2e152c45a1b3cb2 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 25 May 2018 23:29:36 +0000 Subject: Fri May 25 23:29:36 UTC 2018 patches/packages/glibc-zoneinfo-2018e-noarch-2_slack14.2.txz: Rebuilt. Handle removal of US/Pacific-New timezone. If we see that the machine is using this, it will be automatically switched to US/Pacific. --- slackbook/html/process-control.html | 138 ------------------------------------ 1 file changed, 138 deletions(-) delete mode 100644 slackbook/html/process-control.html (limited to 'slackbook/html/process-control.html') diff --git a/slackbook/html/process-control.html b/slackbook/html/process-control.html deleted file mode 100644 index 8727262d2..000000000 --- a/slackbook/html/process-control.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Process Control - - - - - - - - - - -
-

Chapter 11 Process Control

- -
-
-
Table of Contents
- -
11.1 Backgrounding
- -
11.2 Foregrounding
- -
11.3 ps
- -
11.4 kill
- -
11.5 top
-
-
- -

Every program that is running is called a process. These processes range from things -like the X Window System to system programs (daemons) that are started when the computer -boots. Every process runs as a particular user. Processes that are started at boot time -usually run as root or nobody. -Processes that you start will run as you. Processes started as other users will run as -those users.

- -

You have control over all the processes that you start. Additionally, root has control over all processes on the system, including those -started by other users. Processes can be controlled and monitored through several -programs, as well as some shell commands.

- -
-

11.1 Backgrounding

- -

Programs started from the command line start up in the foreground. This allows you to -see all the output of the program and interact with it. However, there are several -occasions when you'd like the program to run without taking up your terminal. This is -called running the program in the background, and there are a few ways to do it.

- -

The first way to background a process is by adding an ampersand to the command line -when you start the program. For example, assume you wanted to use the command line mp3 -player amp to play a directory full of mp3s, but you needed to -do something else on the same terminal. The following command line would start up amp in -the background:

- - - - - -
-
-% amp *.mp3 &
-
-
- -

The program will run as normal, and you are returned to a prompt.

- -

The other way to background a process is to do so while it is running. First, start up -a program. While it is running, hit Control+z. This suspends the process. A suspended process is basically paused. -It momentarily stops running, but can be started up again at any time. Once you have -suspended a process, you are returned to a prompt. You can background the process by -typing:

- - - - - -
-
-% bg
-
-
- -

Now the suspended process is running in the background.

-
-
- - - - - -- cgit v1.2.3