Deck 10: Managing Linux Processes

ملء الشاشة (f)
exit full mode
سؤال
After a process has been started, you can change its priority by using the renice command.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.

A)process state
B)process flag
C)process priority
D)PID
سؤال
When you append a(n)____ to a command, the command is run in a background process.

A)&
B)$
C)#
D)%
سؤال
The ____ option to the ps command displays all processes that do not run on terminals, but not processes that run on terminals.

A)-f
B)x
C)a
D)-l
سؤال
The ____ 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)SIGQUIT
C)SIGKILL
D)SIGTERM
سؤال
To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

A)-f
B)-l
C)-a
D)-e
سؤال
The ____ field in a cron table contains the absolute pathname to the command to be executed.

A)first
B)second
C)fifth
D)sixth
سؤال
You can execute ____ main types of Linux commands.

A)2
B)3
C)4
D)5
سؤال
There are ____ different kill signals that the kill command can send to a certain process.

A)16
B)32
C)64
D)128
سؤال
The ps command is the only command that can view process information.
سؤال
The ____ kill signal stops a process then restarts it with the same PID.

A)SIGINT
B)SIGQUIT
C)SIGHUP
D)SIGTERM
سؤال
The killall command uses the PID to kill a process.
سؤال
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with a(n)____ symbol.

A)*
B)+
C)-
D)/
سؤال
Each process can start an unlimited number of other processes.
سؤال
When killing a background job with the kill command, you must prefix the background job IDs by a(n)____.

A)&
B)#
C)$
D)%
سؤال
To display a list of at Job IDs, you can specify the ____ option to the at command:

A)-l
B)-u
C)-a
D)-d
سؤال
After a background process has been started, it can be moved to the foreground by using the ____ command.

A)b2f
B)fgd
C)fg
D)fgnd
سؤال
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.
سؤال
A system process that is not associated with a terminal is called a(n)____.

A)daemon
B)user
C)parent
D)startup
سؤال
Processes are started with a nice value of ____ by default.

A)-20
B)0
C)1
D)19
سؤال
What is forking?
سؤال
Describe the system cron table. How it is organized, and what information may be contained within it?
سؤال
Match between columns
Daemon used to schedule a command to execute once in the future.
PPID
Daemon used to schedule a command to execute once in the future.
trapping
Daemon used to schedule a command to execute once in the future.
at daemon
Daemon used to schedule a command to execute once in the future.
/var/spool/at
Daemon used to schedule a command to execute once in the future.
PID
Daemon used to schedule a command to execute once in the future.
/var/spool/cron
Daemon used to schedule a command to execute once in the future.
cron daemon
Daemon used to schedule a command to execute once in the future.
/etc/crontab
Daemon used to schedule a command to execute once in the future.
program
A process's identifier that allows the kernel to identify it uniquely.
PPID
A process's identifier that allows the kernel to identify it uniquely.
trapping
A process's identifier that allows the kernel to identify it uniquely.
at daemon
A process's identifier that allows the kernel to identify it uniquely.
/var/spool/at
A process's identifier that allows the kernel to identify it uniquely.
PID
A process's identifier that allows the kernel to identify it uniquely.
/var/spool/cron
A process's identifier that allows the kernel to identify it uniquely.
cron daemon
A process's identifier that allows the kernel to identify it uniquely.
/etc/crontab
A process's identifier that allows the kernel to identify it uniquely.
program
The location of system cron tables.
PPID
The location of system cron tables.
trapping
The location of system cron tables.
at daemon
The location of system cron tables.
/var/spool/at
The location of system cron tables.
PID
The location of system cron tables.
/var/spool/cron
The location of system cron tables.
cron daemon
The location of system cron tables.
/etc/crontab
The location of system cron tables.
program
Directory storing the shell environment and scheduled commands.
PPID
Directory storing the shell environment and scheduled commands.
trapping
Directory storing the shell environment and scheduled commands.
at daemon
Directory storing the shell environment and scheduled commands.
/var/spool/at
Directory storing the shell environment and scheduled commands.
PID
Directory storing the shell environment and scheduled commands.
/var/spool/cron
Directory storing the shell environment and scheduled commands.
cron daemon
Directory storing the shell environment and scheduled commands.
/etc/crontab
Directory storing the shell environment and scheduled commands.
program
Identifies the process that started another process.
PPID
Identifies the process that started another process.
trapping
Identifies the process that started another process.
at daemon
Identifies the process that started another process.
/var/spool/at
Identifies the process that started another process.
PID
Identifies the process that started another process.
/var/spool/cron
Identifies the process that started another process.
cron daemon
Identifies the process that started another process.
/etc/crontab
Identifies the process that started another process.
program
The location of user cron tables.
PPID
The location of user cron tables.
trapping
The location of user cron tables.
at daemon
The location of user cron tables.
/var/spool/at
The location of user cron tables.
PID
The location of user cron tables.
/var/spool/cron
The location of user cron tables.
cron daemon
The location of user cron tables.
/etc/crontab
The location of user cron tables.
program
Ignoring a kill signal.
PPID
Ignoring a kill signal.
trapping
Ignoring a kill signal.
at daemon
Ignoring a kill signal.
/var/spool/at
Ignoring a kill signal.
PID
Ignoring a kill signal.
/var/spool/cron
Ignoring a kill signal.
cron daemon
Ignoring a kill signal.
/etc/crontab
Ignoring a kill signal.
program
Daemon used to schedule a command to execute repeatedly in the future.
PPID
Daemon used to schedule a command to execute repeatedly in the future.
trapping
Daemon used to schedule a command to execute repeatedly in the future.
at daemon
Daemon used to schedule a command to execute repeatedly in the future.
/var/spool/at
Daemon used to schedule a command to execute repeatedly in the future.
PID
Daemon used to schedule a command to execute repeatedly in the future.
/var/spool/cron
Daemon used to schedule a command to execute repeatedly in the future.
cron daemon
Daemon used to schedule a command to execute repeatedly in the future.
/etc/crontab
Daemon used to schedule a command to execute repeatedly in the future.
program
An executable file on the hard disk that can be run when you execute it.
PPID
An executable file on the hard disk that can be run when you execute it.
trapping
An executable file on the hard disk that can be run when you execute it.
at daemon
An executable file on the hard disk that can be run when you execute it.
/var/spool/at
An executable file on the hard disk that can be run when you execute it.
PID
An executable file on the hard disk that can be run when you execute it.
/var/spool/cron
An executable file on the hard disk that can be run when you execute it.
cron daemon
An executable file on the hard disk that can be run when you execute it.
/etc/crontab
An executable file on the hard disk that can be run when you execute it.
program
سؤال
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
سؤال
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.
سؤال
The amount of time a process has to use the CPU is called a(n)____________________ .
سؤال
The ____________________ can be used to affect the process priority indirectly.
سؤال
How does the nice value affect process priority? How and why can nice values be altered?
سؤال
Why would you want to schedule commands? What methods are available for scheduling commands?
سؤال
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?
سؤال
To create or edit a user cron table, you can use the ____ option to the crontab command.

A)-u
B)-c
C)-f
D)-e
سؤال
A(n)____________________ refers to a program that is running in memory and on the CPU.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 10: Managing Linux Processes
1
After a process has been started, you can change its priority by using the renice command.
True
2
In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.

A)process state
B)process flag
C)process priority
D)PID
A
3
When you append a(n)____ to a command, the command is run in a background process.

A)&
B)$
C)#
D)%
A
4
The ____ option to the ps command displays all processes that do not run on terminals, but not processes that run on terminals.

A)-f
B)x
C)a
D)-l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
5
The ____ 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)SIGQUIT
C)SIGKILL
D)SIGTERM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
6
To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

A)-f
B)-l
C)-a
D)-e
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ____ field in a cron table contains the absolute pathname to the command to be executed.

A)first
B)second
C)fifth
D)sixth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
8
You can execute ____ main types of Linux commands.

A)2
B)3
C)4
D)5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
9
There are ____ different kill signals that the kill command can send to a certain process.

A)16
B)32
C)64
D)128
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ps command is the only command that can view process information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
11
The ____ kill signal stops a process then restarts it with the same PID.

A)SIGINT
B)SIGQUIT
C)SIGHUP
D)SIGTERM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
12
The killall command uses the PID to kill a process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
13
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with a(n)____ symbol.

A)*
B)+
C)-
D)/
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
14
Each process can start an unlimited number of other processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
15
When killing a background job with the kill command, you must prefix the background job IDs by a(n)____.

A)&
B)#
C)$
D)%
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
16
To display a list of at Job IDs, you can specify the ____ option to the at command:

A)-l
B)-u
C)-a
D)-d
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
17
After a background process has been started, it can be moved to the foreground by using the ____ command.

A)b2f
B)fgd
C)fg
D)fgnd
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
18
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
19
A system process that is not associated with a terminal is called a(n)____.

A)daemon
B)user
C)parent
D)startup
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
20
Processes are started with a nice value of ____ by default.

A)-20
B)0
C)1
D)19
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
21
What is forking?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
22
Describe the system cron table. How it is organized, and what information may be contained within it?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
23
Match between columns
Daemon used to schedule a command to execute once in the future.
PPID
Daemon used to schedule a command to execute once in the future.
trapping
Daemon used to schedule a command to execute once in the future.
at daemon
Daemon used to schedule a command to execute once in the future.
/var/spool/at
Daemon used to schedule a command to execute once in the future.
PID
Daemon used to schedule a command to execute once in the future.
/var/spool/cron
Daemon used to schedule a command to execute once in the future.
cron daemon
Daemon used to schedule a command to execute once in the future.
/etc/crontab
Daemon used to schedule a command to execute once in the future.
program
A process's identifier that allows the kernel to identify it uniquely.
PPID
A process's identifier that allows the kernel to identify it uniquely.
trapping
A process's identifier that allows the kernel to identify it uniquely.
at daemon
A process's identifier that allows the kernel to identify it uniquely.
/var/spool/at
A process's identifier that allows the kernel to identify it uniquely.
PID
A process's identifier that allows the kernel to identify it uniquely.
/var/spool/cron
A process's identifier that allows the kernel to identify it uniquely.
cron daemon
A process's identifier that allows the kernel to identify it uniquely.
/etc/crontab
A process's identifier that allows the kernel to identify it uniquely.
program
The location of system cron tables.
PPID
The location of system cron tables.
trapping
The location of system cron tables.
at daemon
The location of system cron tables.
/var/spool/at
The location of system cron tables.
PID
The location of system cron tables.
/var/spool/cron
The location of system cron tables.
cron daemon
The location of system cron tables.
/etc/crontab
The location of system cron tables.
program
Directory storing the shell environment and scheduled commands.
PPID
Directory storing the shell environment and scheduled commands.
trapping
Directory storing the shell environment and scheduled commands.
at daemon
Directory storing the shell environment and scheduled commands.
/var/spool/at
Directory storing the shell environment and scheduled commands.
PID
Directory storing the shell environment and scheduled commands.
/var/spool/cron
Directory storing the shell environment and scheduled commands.
cron daemon
Directory storing the shell environment and scheduled commands.
/etc/crontab
Directory storing the shell environment and scheduled commands.
program
Identifies the process that started another process.
PPID
Identifies the process that started another process.
trapping
Identifies the process that started another process.
at daemon
Identifies the process that started another process.
/var/spool/at
Identifies the process that started another process.
PID
Identifies the process that started another process.
/var/spool/cron
Identifies the process that started another process.
cron daemon
Identifies the process that started another process.
/etc/crontab
Identifies the process that started another process.
program
The location of user cron tables.
PPID
The location of user cron tables.
trapping
The location of user cron tables.
at daemon
The location of user cron tables.
/var/spool/at
The location of user cron tables.
PID
The location of user cron tables.
/var/spool/cron
The location of user cron tables.
cron daemon
The location of user cron tables.
/etc/crontab
The location of user cron tables.
program
Ignoring a kill signal.
PPID
Ignoring a kill signal.
trapping
Ignoring a kill signal.
at daemon
Ignoring a kill signal.
/var/spool/at
Ignoring a kill signal.
PID
Ignoring a kill signal.
/var/spool/cron
Ignoring a kill signal.
cron daemon
Ignoring a kill signal.
/etc/crontab
Ignoring a kill signal.
program
Daemon used to schedule a command to execute repeatedly in the future.
PPID
Daemon used to schedule a command to execute repeatedly in the future.
trapping
Daemon used to schedule a command to execute repeatedly in the future.
at daemon
Daemon used to schedule a command to execute repeatedly in the future.
/var/spool/at
Daemon used to schedule a command to execute repeatedly in the future.
PID
Daemon used to schedule a command to execute repeatedly in the future.
/var/spool/cron
Daemon used to schedule a command to execute repeatedly in the future.
cron daemon
Daemon used to schedule a command to execute repeatedly in the future.
/etc/crontab
Daemon used to schedule a command to execute repeatedly in the future.
program
An executable file on the hard disk that can be run when you execute it.
PPID
An executable file on the hard disk that can be run when you execute it.
trapping
An executable file on the hard disk that can be run when you execute it.
at daemon
An executable file on the hard disk that can be run when you execute it.
/var/spool/at
An executable file on the hard disk that can be run when you execute it.
PID
An executable file on the hard disk that can be run when you execute it.
/var/spool/cron
An executable file on the hard disk that can be run when you execute it.
cron daemon
An executable file on the hard disk that can be run when you execute it.
/etc/crontab
An executable file on the hard disk that can be run when you execute it.
program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
24
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
25
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
26
The amount of time a process has to use the CPU is called a(n)____________________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
27
The ____________________ can be used to affect the process priority indirectly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
28
How does the nice value affect process priority? How and why can nice values be altered?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
29
Why would you want to schedule commands? What methods are available for scheduling commands?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
30
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
31
To create or edit a user cron table, you can use the ____ option to the crontab command.

A)-u
B)-c
C)-f
D)-e
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n)____________________ refers to a program that is running in memory and on the CPU.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.