Chapter 9 - Managing Linux Processes Flashcards

1
Q

A number assigned to a process, used to determine how many time slices on the processor that process will receive; the higher the number, the lower the priority.

A

process priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Used to give real-time information about the most active processes on the system; it can also be used to renice or kill processes.

A

top command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sends kill signals to processes by process name.

A

killall command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A system process that is not associated with a terminal.

A

daemon process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Used to view, create, and manage scheduled tasks that run at a preset time in the future.

A

at command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A process that does not require the BASH shell to wait for its termination. Upon execution, the user receives the BASH shell prompt immediately.

A

background process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Used to list the PIDs of processes that match a regular expression or other criteria.

A

pgrep command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Used to send a kill signal to processes that match a regular expression or other criteria.

A

pkill command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The system daemon that executes tasks at a future time; it is configured with the at command.

A

at daemon (atd)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A file specifying tasks to be run by the cron daemon

A

cron table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A process that was started by another process (parent process).

A

child process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The system daemon that executes tasks repetitively in the future and that is configured using cron tables.

A

cron daemon (crond)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Used to send kill signals to a process by PID.

A

kill command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Used to obtain information about processes currently running on the system.

A

ps command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Displays processes according to their lineage, starting from the init daemon.

A

pstree command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A process that has finished executing but whose parent has not yet released its PID; the _______ still retains a spot in the kernel’s process table.

A

zombie process

17
Q

A process that has started other processes (child processes).

A

parent process

18
Q

Lists the files that are currently being viewed or modified by processes and users.

A

lsof (list open files) command

19
Q

The signal sent to a process for use in terminating or restarting processes; different ________ affect processes in different ways.

A

kill signal

20
Q

A process begun by a user and which runs on a terminal.

A

user process

21
Q

The act of creating a new BASH shell child process from a parent BASH shell process.

A

forking

22
Q

Used to change the priority of a process as it is started.

A

nice command

23
Q

A process that has become faulty in some way and continues to consume far more system resources than it should.

A

rogue process

24
Q

Displays background processes running in the current shell.

A

jobs command

25
Q

The amount of time a process is given on a CPU in a multiprocessing operating system.

A

time slice

26
Q

The current state of the process on the processor; most processes are in the sleeping or running state.

A

process state

27
Q

Used to view a scheduled at job.

A

atq command

28
Q

Used to execute a child process without parent association.

A

nohup command

29
Q

The PID of the parent process that created the current process.

A

parent process ID (PPID)

30
Q

The process of ignoring a kill signal.

A

trap

31
Q

Used to view and edit user cron tables.

A

crontab command

32
Q

Used to run a process repeatedly at the specified second interval.

A

watch command

33
Q

Used to alter the nice value of a process currently running on the system.

A

renice command

34
Q

Used to remove a scheduled at job.

A

atrm command

35
Q

The value that indirectly represents the priority of a process; the higher the value, the lower the priority.

A

nice value

36
Q

Used to run a foreground process in the background.

A

background (bg) command

37
Q

A unique identifier assigned to every process as it begins.

A

process ID (PID)

38
Q

A process for which the BASH shell that executed it must wait for its termination.

A

foreground process

39
Q

Used to run a background process in the foreground.

A

foreground (fg) command