Linux module 9 Flashcards

1
Q

Which command entered without arguments is used to display a list of processes running in the current shell?

A

ps

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

Where are individual user tasks scheduled to run with the cron daemon stored on a Fedora system?

A

/var/spool/cron/(the user’s login name)

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

Which process will always have a PID of 1 and a PPID of 0?

A

init

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

The term used to describe a process spawning or initiating another process is referred to as:

A

forking

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

As daemon processes are not associated with terminals, you must use the -e switch with the ps command to view them. True or False?

A

True

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

Which of the following commands will most likely increase the chance of a process receiving more time slices?

A

renice -12

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

How can you bypass the wait function and send a user process to the background?

A

Ctrl+z

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

The at command is used to:

A

Schedule processes to run at a single instance in the future

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

What command is used to view and modify user jobs scheduled to run with cron?

A

Crontab

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

Every process has a process ID and a :

A

Parent Process ID

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

The killall command terminates:

A

All instances of a process with the same name

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

Nice values are used to affect process priorities using a range between:

A

-20 and 19

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

What is the name given to a process not associated with a terminal?

A

daemon process

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

To kill a process running in the background, you must place a % character before its process ID. True or False?

A

False

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

What kill level signal cannot be trapped?

A

9

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

A runaway process that is faulty and consuming mass amounts of system resources :

A

Zombie process

17
Q

When you run the ps command, how are daemon processes recognized?

A

There is a question mark in the TTY column

18
Q

Which command is used to gain real-time information about processes running on the system with the most processor-intensive processes listed at the beginning of the list?

A

top

19
Q

Which command can be used to see processes running in the background?

A

jobs