Deck 10: Managing Linux Processes
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/32
Play
Full screen (f)
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)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)&
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
A)-f
B)x
C)a
D)-l
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)SIGINT
B)SIGQUIT
C)SIGKILL
D)SIGTERM
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)-f
B)-l
C)-a
D)-e
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)first
B)second
C)fifth
D)sixth
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
8
You can execute ____ main types of Linux commands.
A)2
B)3
C)4
D)5
A)2
B)3
C)4
D)5
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)16
B)32
C)64
D)128
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
10
The ps command is the only command that can view process information.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)SIGINT
B)SIGQUIT
C)SIGHUP
D)SIGTERM
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
12
The killall command uses the PID to kill a process.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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)/
A)*
B)+
C)-
D)/
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
14
Each process can start an unlimited number of other processes.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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)%
A)&
B)#
C)$
D)%
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)-l
B)-u
C)-a
D)-d
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)b2f
B)fgd
C)fg
D)fgnd
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)daemon
B)user
C)parent
D)startup
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
20
Processes are started with a nice value of ____ by default.
A)-20
B)0
C)1
D)19
A)-20
B)0
C)1
D)19
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
21
What is forking?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
22
Describe the system cron table. How it is organized, and what information may be contained within it?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
23
Match between columns
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
24
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
26
The amount of time a process has to use the CPU is called a(n)____________________ .
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
27
The ____________________ can be used to affect the process priority indirectly.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
28
How does the nice value affect process priority? How and why can nice values be altered?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
29
Why would you want to schedule commands? What methods are available for scheduling commands?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
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
A)-u
B)-c
C)-f
D)-e
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
32
A(n)____________________ refers to a program that is running in memory and on the CPU.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck