ch 9 prac exam linux

¡Supera tus tareas y exámenes ahora con Quizwiz!

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

lsof

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

D

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-w ctrl-x ctrl-c ctrl-q

ctrl -c

What command is used to display the lineage of a process by tracing its PPIDs until the init daemon? psparent pshead psbranch pstree

pstree

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

crontab -l

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

fg

You have started a job running in the background that you want to now bring to the front so that you can watch it execute. Which of the following commands can be used to display the job's output to the terminal? jobs -f disp fg front

fg

Which of the following commands can be used to terminate a process by the process name? pskill kill pkill stop

pkill

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

watch

Where are scheduled commands stored on Ubuntu Linux systems? /etc/at/ /var/spool/cron/atjobs /tmp/at /var/spool/at

/var/spool/cron/atjobs

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

r

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

top ps

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 SIGKILL SIGINT SIGTERM

SIGQUIT

A system administrator wants to schedule a task to run at 11 pm, but knows that she will not be in the office at that time. Which of the following commands can she use to schedule this task to run that night while she is at home? at exec atq run

at

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

zombie


Conjuntos de estudio relacionados

Chapter 63: Patient with Acute Kidney Injury and Chronic Kidney Disease

View Set

6.7 Bones role in Calcium Homeostasis

View Set

Extras week 2, Extras week 2, Extras Tryout Week 1, 2018 Tryout Set 1, 2016 Governor's Cup, 2017 Governor's Cup Practice Questions

View Set

Test 9 Possibles: Anesthesia and Pain Management

View Set

Chapter 28: Investor Protection and Corporate Governance

View Set