Linux Chapter 9

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

Where are scheduled commands stored on Ubuntu Linux systems?

/var/spool/cron/atjobs

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

If a process state is currently showing as uninterruptible sleep, which letter will show in the output of the ps command?

D

Which of the following commands will display a list of the pending jobs to be run? (Choose all that apply.)

at -l atq at -q

Which of the following commands can be used to only show jobs that have been paused.

jobs -s

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

lsof

Which of the following commands will show a list of process names along with their process ID (PID)? (Choose two.)

ps top

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

-e

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

n which directory would a system administrator store scripts that should be run monthly by the cron daemon?

/etc/cron.monthly

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

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

crontab -l

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?

ctrl -c

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

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

pkill

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

r

While the top command is running, what key can be pressed to change the nice value of a process?

r


Ensembles d'études connexes

Chapter 5. Cost-Volume-Profit Relationships

View Set

Hello, how are you today? - Stepping Stone 1-2:3

View Set

A.D. Banker - Comprehensive Exam Practice (1)

View Set

Unit 1 Chapter 2 JLAB Leadership

View Set

Fundamentals of Nursing III (Chap 38 Oxygenation & Perfusion Prep U)

View Set