Deck 9: Managing Linux Processes
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 9: Managing Linux Processes
1
If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon.
True
2
Each process can start an unlimited number of other processes.
True
3
Which of the following is not one of the three main types of Linux commands?
A) binary programs
B) shell scripts
C) shell functions
D) device calls
A) binary programs
B) shell scripts
C) shell functions
D) device calls
D
4
In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing?
A) process priority
B) process state
C) process flag
D) PID
A) process priority
B) process state
C) process flag
D) PID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
Zombie processes are also known as defunct processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
What number indicates the lowest kernel priority (PRI) of a process possible?
A) -20
B) 0
C) 20
D) 127
A) -20
B) 0
C) 20
D) 127
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory?
A) SIGINT
B) SIGKILL
C) SIGQUIT
D) SIGTERM
A) SIGINT
B) SIGKILL
C) SIGQUIT
D) SIGTERM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
How many different kill signals can be sent by the kill command to a given process?
A) 16
B) 32
C) 64
D) 128
A) 16
B) 32
C) 64
D) 128
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
When killing a background job with the kill command, the background job ID must be prefixed by what character below?
A) #
B) %
C) $
D) &
A) #
B) %
C) $
D) &
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The killall command uses the PID to kill a process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
What option, when added to the crontab command, opens the vi editor with a user's cron table?
A) -f
B) -e
C) -u
D) -c
A) -f
B) -e
C) -u
D) -c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?
A) first
B) second
C) fifth
D) sixth
A) first
B) second
C) fifth
D) sixth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Processes are started with what nice value by default?
A) -20
B) 0
C) 1
D) 19
A) -20
B) 0
C) 1
D) 19
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?
A) -
B) /
C) +
D) *
A) -
B) /
C) +
D) *
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
What kill signal stops a process, then restarts it with the same PID?
A) SIGQUIT
B) SIGINT
C) SIGHUP
D) SIGTERM
A) SIGQUIT
B) SIGINT
C) SIGHUP
D) SIGTERM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
What option can be used with the ps command to display an entire list of processes across all terminals and including daemons?
A) -a
B) -f
C) -e
D) -l
A) -a
B) -f
C) -e
D) -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
What character, when appended to a command, causes the command to be run in the background?
A) $
B) &
C) %
D) #
A) $
B) &
C) %
D) #
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
After a background process has been started, what command below can be used to move it to the foreground?
A) fg
B) fgnd
C) fgd
D) b2f
A) fg
B) fgnd
C) fgd
D) b2f
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
In order to display a list of at job IDs, what option can be specified to the at command?
A) -d
B) -u
C) -a
D) -l
A) -d
B) -u
C) -a
D) -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
After a process has been started, you can change its priority by using the renice command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process?
A) The process is high priority.
B) The process is exiting.
C) The process is accepting redirected input from a terminal.
D) The process is currently active on the processor.
A) The process is high priority.
B) The process is exiting.
C) The process is accepting redirected input from a terminal.
D) The process is currently active on the processor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
What can be used on a Linux system to trace the lineage of each child process?
A) process ID
B) parent process ID
C) execution order ID
D) process fork ID
A) process ID
B) parent process ID
C) execution order ID
D) process fork ID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Describe the purpose the process state column displayed by the ps -l command. What values may appear in this column, and what do these values indicate?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Describe the system cron table. How it is organized, and what information may be contained within it?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The command used to schedule commands and tasks to run at a preset time in the future.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The command used to schedule commands and tasks to run at a preset time in the future.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The act of creating a new BASH shell child process from a parent BASH shell process.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The act of creating a new BASH shell child process from a parent BASH shell process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) ____________________ refers to a program that is running in memory and on the CPU.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
The amount of time a process has to use the CPU is called a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
How does the nice value affect process priority? How and why can nice values be altered?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
In the process state column, what does an "R" indicate?
A) The indicated process is being restarted because it received a SIGHUP kill signal.
B) The process is currently running on the processor.
C) The process is reading from the local hard disk.
D) The process is recovering from a fatal error, and may potentially become a zombie.
A) The indicated process is being restarted because it received a SIGHUP kill signal.
B) The process is currently running on the processor.
C) The process is reading from the local hard disk.
D) The process is recovering from a fatal error, and may potentially become a zombie.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A unique identifier assigned to every process as it begins.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A unique identifier assigned to every process as it begins.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?
A) psbranch
B) pstree
C) psparent
D) pshead
A) psbranch
B) pstree
C) psparent
D) pshead
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
Describe how forking works, and how it affects the parent process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Explain why scheduling commands can be beneficial, and detail some of the methods available for scheduling commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A process that was started by another process.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A process that was started by another process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
On a Fedora based system, where are the shell environment and scheduled commands for at stored?
A) /var/spool/cron/atjobs
B) /var/spool/at
C) /var/run/at
D) /var/run/cron/at
A) /var/spool/cron/atjobs
B) /var/spool/at
C) /var/run/at
D) /var/run/cron/at
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The process of ignoring a kill signal.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The process of ignoring a kill signal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
In a process referred to as ____________________, when executing compiled programs or shell scripts, the BASH shell that interprets the command you typed creates a new BASH shell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____________________ can be used to affect the process priority indirectly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A system process that is not associated with a terminal.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A system process that is not associated with a terminal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
What two ps options can be used to display a full list of information about each process, and a long list of information about each process?
A) -e
B) -p
C) -f
D) -l
A) -e
B) -p
C) -f
D) -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The amount of time a process is given on a CPU in a multiprocessing operating system.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The amount of time a process is given on a CPU in a multiprocessing operating system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
What kill signal and number can be used to send an interrupt signal to a process, and is the same as using the Ctrl+c combination to kill a running process?
A) SIGHUP
B) SIGINT
C) 1
D) 2
A) SIGHUP
B) SIGINT
C) 1
D) 2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or Systemd init processes?
A) kthreadd
B) syslogd
C) init
D) systemd
A) kthreadd
B) syslogd
C) init
D) systemd
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A file specifying tasks to be run by the cron daemon
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A file specifying tasks to be run by the cron daemon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
What two commands below can be used to stop a process, either by PID number or process name?
A) end
B) stop
C) kill
D) killall
A) end
B) stop
C) kill
D) killall
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The command used to run a foreground process in the background.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
The command used to run a foreground process in the background.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
Match each correct item with the statement below.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A process that has started other processes.
a.at command
b.background command
c.child process
d.cron table
e.daemon process
f.forking
g.parent process
h.process ID (PID)
i.time slice
j.trapping
A process that has started other processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What signal name and number function as the absolute kill signal, and when issued, forces the Linux kernel to stop executing the process by sending the process's resources to /dev/null?
A) SIGINT
B) SIGKILL
C) 2
D) 9
A) SIGINT
B) SIGKILL
C) 2
D) 9
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck