Summary

In this chapter, we have examined how to manage and monitor processes. Since processes and threads are the entities that actually carry out the execution of applications, it s important that administrators understand how to send signals to manage their activity.

Questions

1.  

Which of the following statements is true?

  1. A shell can spawn another shell or application

  2. A shell can spawn another shell, but not an application

  3. A shell cannot spawn another shell, but can spawn an application

  4. A shell can never spawn another shell or application

 a. a shell can spawn any type of application, or another shell.

2.  

What is a process ID?

  1. A string corresponding to the name of the application executed

  2. A randomly generated string that distinguishes one process from another

  3. A class associated with a process s allocated priority

  4. A sequentially allocated integer that distinguishes one process from another

 d. a sequentially allocated integer that distinguishes one process from another. when the maximum pid is allocated, new pids are allocated from 1 again. however, pids associated with running processes are never duplicated.

3.  

A process that can have its effective ownership changed is known as what?

  1. A setGID process

  2. A magic number process

  3. A setUID process

  4. A process that has a magic cookie

 c. effective ownership changes are always associated with a setuid process.

4.  

What is the ultimate parent PID for all processes on a system?

  1. a

  2. 1

  3. init

 b. all processes start with 1 and increase from there.

5.  

What does the acronym PPID stand for?

  1. Processor PID

  2. Priority PID

  3. Personal PID

  4. Parent PID

 d. a process that spawns a child process is known as a parent.

6.  

What does the acronym STIME stand for?

  1. Process starting time

  2. Standard process execution time

  3. Single process execution time

  4. Time zone environment variable

 a. stime represents a process starting time.

7.  

What is the acronym for the memory address of sleeping processes?

  1. SLPADDR

  2. ADDR

  3. WCHAN

  4. CHANADDR

 c. wchan is the acronym.

8.  

What command sequence is used to suspend a process?

  1. CTRL-C

  2. ESC-C

  3. CTRL-Z

  4. ESC-Z

 c. hold down the ctrl key and press z on the keyboard.

9.  

How can the kill command be used to send a SIGHUP to pid 2192?

  1. kill -1 2192

  2. kill -2 2192

  3. kill -3 2192

  4. kill -9 2192

 a. a sighup is represented by 1.

10.  

How can the kill command be used to send a SIGKILL to pid 2192?

  1. kill -1 2192

  2. kill -2 2192

  3. kill -3 2192

  4. kill -9 2192

 d. a sigkill is represented by 9.

Answers

1.  

A. A shell can spawn any type of application, or another shell.

2.  

D. A sequentially allocated integer that distinguishes one process from another. When the maximum PID is allocated, new PIDs are allocated from 1 again. However, PIDs associated with running processes are never duplicated .

3.  

C. Effective ownership changes are always associated with a setUID process.

4.  

B. All processes start with 1 and increase from there.

5.  

D. A process that spawns a child process is known as a parent.

6.  

A. STIME represents a process starting time.

7.  

C. WCHAN is the acronym.

8.  

C. Hold down the CTRL key and press Z on the keyboard.

9.  

A. A SIGHUP is represented by 1.

10.  

D. A SIGKILL is represented by 9.

 
 
   


Sun Certified Solaris 9.0 System and Network Administrator
Sun Certified Solaris(tm) 9 System and Network Administrator All-in-One Exam Guide
ISBN: 0072225300
EAN: 2147483647
Year: 2003
Pages: 265
Authors: Paul Watters

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net