• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/27

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

27 Cards in this Set

  • Front
  • Back

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


a. ppid


b. list


c. pid


d. ps

d. ps

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


a. If /etc/at.allow exists, only users listed in it can use the at command.


b. If /etc/cron.allow exists, only users listed in it can use the cron command.


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


d. If /etc/cron.allow and /etc/cron.deny exist, only users listed in the former can use the cron command, and any users listed in the latter are denied access to the cron command.


e. If a user is listed in both /etc/cron.allow and /etc/cron.deny, then /etc/cron.deny takes precedence and the user cannot access the crontab command.

a. If /etc/at.allow exists, only users listed in it can use the at command.


b. If /etc/cron.allow exists, only users listed in it can use the cron command.





Where are individual user tasks scheduled to run with the cron daemon stored?


a. /etc/crontab


b. /etc/cron/(the user’s login name)


c. /var/spool/cron


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

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

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


a. the kernel itself


b. ps


c. init


d. top

c. init

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


a. a child process


b. forking


c. branching


d. parenting

b. forking

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

True

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


a. renice 0


b. renice 15


c. renice -12


d. renice 19

c. renice -12

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


a. This cannot happen once a process is executing; it can be done only when the commandis started by placing an ampersand (&) after it.


b. This cannot happen; only daemon processes can run in the background.


c. You can use the ps command.


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

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

The at command is used to _______________.


a. schedule processes to run periodically in the background


b. schedule processes to run periodically on a recurring basis in the future


c. schedule processes to run at a single instance in the future


d. schedule processes to run in the foreground

c. schedule processes to run at a single instance in the future

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


a. crontab


b. cron


c. ps


d. sched

a. crontab

Every process has a process ID and a _______________.


a. fork process


b. daemon


c. child process


d. parent process ID

d. parent process ID

The killall command terminates _______________.


a. all instances of a process with the same PPID


b. all instances of a process with the same PID


c. all instances of a process with the same priority


d. all instances of a process with the same name

d. all instances of a process with the same name

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


a. 0 and 20


b. 0 and -19


c. -19 and 20


d. -20 and 19

d. -20 and 19

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


a. child process


b. parent process


c. user process


d. daemon process

d. daemon process

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

True

What kill level signal cannot be trapped?


a. 1


b. 9


c. 3


d. 15

b. 9

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


a. is a zombie process


b. is an orphaned process


c. has a PPID of Z


d. is a rogue process

a. is a zombie process

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


a. The terminal is listed as tty0.


b. There is a question mark in the TTY column.


c. There is an asterisk in the STIME column.


d. There is a “d” for daemon in the terminal identification column.

b. There is a question mark in the TTY column.

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


b. ps -elf


c. top


d. top -l

c. top

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


a. bg


b. jobs


c. ps -%


d. fg

b. jobs

In fixed partitioning all the partitions can be ___________.


a. neither of these


b. both of these


c. unequal sizes


d. equal sizes

b. both of these

Allocated memory that is unused is called _________.


a. external fragmentation


b. fixed partitions


c. internal fragmentation


d. relocation

c. internal fragmentation

Which of these use variable length partitions?


a. dynamic partitions


b. variable partitions


c. fixed partitions


d. paging

a. dynamic partitions

Unallocated memory which is too small to be useful is _______________.


a. none of these


b. internal fragmentation


c. dynamic fragmentation


d. external fragmentation

d. external fragmentation

In paging the memory space is divided into ________.


a. pages


b. partitions


c. fragments


d. frames

d. frames

In paging the process is divided into ___________.


a. partitions


b. pages


c. fragments


d. frames

b. pages

Order the memory management methods from best to worst.


a. Best fit


b. Next fit


c. First fit

c. First fit


b. Next fit


a. Best Fit