ITN170--Module 9-14.e

Ace your homework & exams now with Quizwiz!

A system administrator wants to allow most users to be able to run cron jobs, but wants to specifically prevent a couple of users from doing so. Which of the following files could the administrator edit to disallow these users from creating cron jobs?

/etc/cron.deny

In context of cron, which of the following is not the correct directory name?

/etc/cron.yearly/

The ________ file system is a virtual file system that is available in CentOS.

/proc

What is the default priority of a process?

0

What was the nice value of the ps process when it displayed using ps -l?

0

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?

19

What is the PID assigned to the yes command in the lab?

2218

What priority number is assigned to the ps process?

80

Which command is used to schedule jobs?

at

Which command is equivalent to the atrm command?

at -d

Which command is equivalent to the atq command?

at -l

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

crontab -l

Which command will bring a background process in foreground?

fg

Which command should you run to list the background processes?

jobs

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

kill -9 1357

You want to kill all process IDs of a specific process with a single command. Which command should you use?

killall

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

lsof

To view the virtual regions being used, you should use the ________ command.

maps

Which command should be used to change the priority of a process?

nice

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

nohup

card 1

one

To display the processes for the current shell, you should use the ____ command.

ps

Which command will list the processes for a specific user?

ps

The _________ command displays the lineage of a process by tracing its PPID back to the init daemon.

pstree

Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process?

r

Which command is used to change the priority of an active process?

renice

Which command will list all active processes that are running on a Linux system?

top command

card 2

two

To displays the uptime of a process, you should use the ______ command.

uptime

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

zombie

Which directory stores the cron configuration file?

/etc/cron

Which metacharacter is used to run a process in the background?

&

Which of the following is used to create a background process?

&

Which parameter can you use with the ps command to display the active processes? [Choose all that apply.]

-a -e

Which of the following attributes are associated with a process? [Choose all that apply.]

Process ID Parent process ID Current directory PWD File descriptor table


Related study sets

English Civil War and American Revolution

View Set

Demographics: An Aging Population

View Set