Server Lesson 6 Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

When killing a background job with the kill command, the background job ID must be prefixed by what character below?

%

What character, when appended to a command, causes the command to be run in the background?

&

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?

+

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

-e

What option, when added to the crontab command, opens the vi editor with a user's cron table?

-e

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?

-f -l

In order to display a list of at job IDs, what option can be specified to the at command?

-l

.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?

...

What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or Systemd init processes?

...

On a Fedora based system, where are the shell environment and scheduled commands for at stored?

/var/spool/at

Processes are started with what nice value by default?

0

1. The command used to schedule commands and tasks to run at a preset time in the future. 2. A process that was started by another process. 3. A unique identifier assigned to every process as it begins. 4. The act of creating a new BASH shell child process from a parent BASH shell process. 5. The process of ignoring a kill signal. 6. The amount of time a process is given on a CPU in a multiprocessing operating system. 7. The command used to run a foreground process in the background. 8. A system process that is not associated with a terminal. 9. A process that has started other processes. 10. A file specifying tasks to be run by the cron daemon

1. at command 2. child process 3. process ID (PID) 4. forking 5. trapping 6. time slice 7. background command 8. daemon process 9. parent process 10. cron table

What number indicates the lowest kernel priority (PRI) of a process possible?

127

How many different kill signals can be sent by the kill command to a given process?

64

The killall command uses the PID to kill a process.

False

What kill signal stops a process, then restarts it with the same PID?

SIGHUP

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?

SIGINT 2

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?

SIGQUIT

In the process state column, what does an "R" indicate?

The process is currently running on the processor

When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process?

The process is high priority.

After a process has been started, you can change its priority by using the renice command.

True

Each process can start an unlimited number of other processes.

True

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

Zombie processes are also known as defunct processes.

True

After a background process has been started, what command below can be used to move it to the foreground?

fg

What two commands below can be used to stop a process, either by PID number or process name?

kill killall

What can be used on a Linux system to trace the lineage of each child process?

parent process ID

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?

process state

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?

pstree

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?

sixth

Which of the following is not one of the three main types of Linux commands?

device calls


Set pelajaran terkait

Computer Science - Unit 2: Hardware

View Set

Government intervention - Subsidies

View Set

Azure Microsoft Practice Questions

View Set

CSCI121 - Module 1, Module 2, Module 3 Study Guide

View Set

Psychology ch 11 practice questions

View Set

「語彙」アパートを探しています

View Set

Art Appreciation Ch. 17, 18, 19, 20

View Set

Final Exam - Computer Financial Record Keeping

View Set

Dominos Case Study - All topics - Ultimate

View Set

Executive Branch and Bureaucracy

View Set