NOS - 120 LESSON 9

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

-20 and 19

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

nohup

Which of the following can be used preceding a command to prevent a process from terminating when the parent process terminates?

child process

a process that was started by another process (parent process)

kill command

used to send kill signals to a PID

SIGQUIT

15 kill used by process to kill other process

forking

A process spawning or initiating another process is referred to as _____.

True

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

9

What kill level signal cannot be trapped?

top

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?

zombie

Which of the following states describe a process that is waiting for a parent process to release its PID?

zombie process

a process that has finished executing but whose parent has not yet released its PID, the zombie remains in the kernal's process table

forking

the act of creating a new BASH shell child process from a parent BASH shell process

top command

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

pgrep command

used to list the PIDs of process that match a regular expression or other criteria

watch command

used to run a process repeatedly at the specified second interval

pkill command

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

atq command

used to view a scheduled at job

crontab command

used to view and edit user cron tables

at command

used to view create and manage scheduled task that run at a preset time

foreground (fg) command

used to run a background process in the foreground

background (bg) command

used to run a foreground process in the background

daemon process

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

b. -e

What option can be used with the ps command to display an entire list of processes across all Terminals, including daemons?

d. kill -9 1357

Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357?

c. crontab -l

Which of the following commands will show the current user cron jobs that have been created for the currently logged in user?

19

Which of the following is the highest value that can be set for the nice value which would result in a greater chance of a lower priority?

If /etc/at.allow exists, only users listed in it can use the at command. If /etc/cron.allow exists, only users listed in it can use the cron command. If /etc/cron.deny exists and /etc/cron.allow does not exist, any user not listed in /etc/cron.deny can use the cron command.

Which of the following statements is true? (Choose all that apply.)

process

a program currently loaded into physical memory running on the system

program

a structured set of commands stored in an executable file on a file system. a program can be executed to create process

daemon process

a system process that is not associated with a terminal

SIGHUP

1 hangup signal to stop and restart pid

is a rogue process

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

You can use the Ctrl+z key combination and the bg command.

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

process state

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

There is a question mark in the TTY column.

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

/var/spool/cron/username

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

jobs

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

lsof

list open files list that are currently being viewed or modified by processes and users

trap

the process of ignoring a kill signal

nice command

used to change the priority of a process as it is started

atrm command

used to remove a scheduled job

PPID

paret process id

kill signal

the signal sent to a process for use in termination or restart

atd (at datemon)

the system daemon that executes task at a future time it is configured with at command

nohup command

used to execute a child process without parent association

SIGKILL

9 Absolute kill /dev/null

crontab

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

user process

a process begun by a user and runs on a terminal

parent process

a process that has started other process(child processes)

jobs command

displays background processes running in the current shell

parent process ID

Every process has a process ID and a_______.

PID

Process ID

all instances of a process with the same name matched by a regular expression

The pkill command terminates _________.

cron daemon (cron d)

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

False

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

ps

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

watch

Which of the following commands can be used to schedule very frequent recurring tasks, such as running once every minute?

lsof

Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?

c. pkill

Which of the following commands can be used to terminate a process by the process name?

renice -12

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

b. ctrl-c

You have run the top command successfully, but realize that the q key on the keyboard has suddenly stopped working. What is another way that you can exit out of the top program?

Process priority

a number assigned to a process to determine how many time slices it will receive. Higher num = low priority

foreground process

a process for which the BASH shell executed before the prompt is displayed

background process

a process that does not require the BASH shell to wait for its termination upon. BASH shell prompt shown immedietly

rouge process

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

renice command

alter the nice value of a process currently running

killall command

sends kill signals to process by process name

init/systemd

Which process has a PID of 1 and a PPID of 0?

pstree ommand

displays the process and child process, in a family tree format start with init

ps command

obtain information about processes currently running on the system show processes

SIGINT

2 interrupt signal ctrl c

nice value

The value that indirectly represents the priority of a process; the higher the value, the lower the priorty multiply by 11 is the pririty value -20 to 0 to 19

time slice

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

schedule processes to run at a single instance in the future

The at command is used to _______________.


Ensembles d'études connexes

EMT-B Chapter 35 - Lifting and Moving Patients

View Set

Grammar in Use - elementary - UNIT 7 - PRESENT SIMPLE - questions - EN-CZ

View Set

Personality disorder cases (diagnosis)

View Set

Chapter 14: Nursing Management During Labor and Birth

View Set

Quality & Safety and Infrastructure

View Set

Biology - Evolution, Natural Selection, History of Life

View Set