IST 190 LINUX TEST 3 UNITS 7-9 QUESTIONS AND
ANSWERS
process - Answers - A running instance of a launched, executable program
environment of a process - Answers - Includes local and global variables, a current
scheduling context, and allocated system resources
parent process - Answers - Duplicates its own address space to create a new child
process structure
process ID - Answers - Every new process is assigned a unique _______ for tracking
and security
parent's process ID - Answers - The PID and ____ are elements of the new process
environment
child process - Answers - Through the fork routine, a _____ inherits security identities,
previous and current file descriptors, port and resource privileges, environment
variables and program code.
zombie - Answers - Upon exit, the child process has already closed or discarded its
resources and environment; the remainder is referred to as a _______
multitasking operating system - Answers - In a ______, each CPU can be working on
one process at a single point in time
state - Answers - Processes are assigned a _____, which changes as circumstances
require
TASK_RUNNING - Answers - The process is either executing on a CPU or waiting to
run
TASK_INTERRUPTIBLE - Answers - The process is waiting for some condition: a
hardware request, system resource access, or signal. Part of the Sleeping State
TASK_UNINTERRUPTIBLE - Answers - This process is also Sleeping, but unlike the
TASK_INTERRUPTIBLE state, will not respond to delivered signals
TASK_KILLABLE - Answers - Identical to the uninterruptible state, but modified to allow
the waiting task to respond to a signal to be killed
, TASK_STOPPED - Answers - The process has been Stopped, usually by being
signaled by a user or another process
TASK_TRACED - Answers - A process that is being debugged is also temporarily
Stopped and shares the same stopped state flag
EXIT_ZOMBIE - Answers - A child process signals its parent as it exits. All resources
except for the PID are released
EXIT_DEAD - Answers - When the parent cleans up the remaining child process
structure, the process is now released completely
ps - Answers - Command used to list current processes
ps aux - Answers - Displays all processes with columns in which users will be
interested, and includes processes without a controlling terminal
ps lax - Answers - A long listing provides more technical detail, but may display faster
by avoiding the username lookup
job control - Answers - A feature of the shell which allows a single shell instance to run
and manage multiple commands
job - Answers - This is associated with each pipeline entered at a shell prompt
pipeline - Answers - All processes in a _____ are part of the job and are members of the
same process group
foreground processes - Answers - Processes that are part of the are _____ of that
controlling terminal
background processes - Answers - Process of a terminal that can not read input or
receive keyboard-generated interrupts from the terminal
session - Answers - Each terminal is its own ____ and can have a foreground process
and independent background process
terminal type - Answers - The ps command will show the device name of the controlling
terminal of a process in the _____ column
daemons - Answers - Processes that are started by the system and not from a shell
prompt
signal - Answers - A _____ is a software interrupt delivered to a process. They report
events to an executing program
ANSWERS
process - Answers - A running instance of a launched, executable program
environment of a process - Answers - Includes local and global variables, a current
scheduling context, and allocated system resources
parent process - Answers - Duplicates its own address space to create a new child
process structure
process ID - Answers - Every new process is assigned a unique _______ for tracking
and security
parent's process ID - Answers - The PID and ____ are elements of the new process
environment
child process - Answers - Through the fork routine, a _____ inherits security identities,
previous and current file descriptors, port and resource privileges, environment
variables and program code.
zombie - Answers - Upon exit, the child process has already closed or discarded its
resources and environment; the remainder is referred to as a _______
multitasking operating system - Answers - In a ______, each CPU can be working on
one process at a single point in time
state - Answers - Processes are assigned a _____, which changes as circumstances
require
TASK_RUNNING - Answers - The process is either executing on a CPU or waiting to
run
TASK_INTERRUPTIBLE - Answers - The process is waiting for some condition: a
hardware request, system resource access, or signal. Part of the Sleeping State
TASK_UNINTERRUPTIBLE - Answers - This process is also Sleeping, but unlike the
TASK_INTERRUPTIBLE state, will not respond to delivered signals
TASK_KILLABLE - Answers - Identical to the uninterruptible state, but modified to allow
the waiting task to respond to a signal to be killed
, TASK_STOPPED - Answers - The process has been Stopped, usually by being
signaled by a user or another process
TASK_TRACED - Answers - A process that is being debugged is also temporarily
Stopped and shares the same stopped state flag
EXIT_ZOMBIE - Answers - A child process signals its parent as it exits. All resources
except for the PID are released
EXIT_DEAD - Answers - When the parent cleans up the remaining child process
structure, the process is now released completely
ps - Answers - Command used to list current processes
ps aux - Answers - Displays all processes with columns in which users will be
interested, and includes processes without a controlling terminal
ps lax - Answers - A long listing provides more technical detail, but may display faster
by avoiding the username lookup
job control - Answers - A feature of the shell which allows a single shell instance to run
and manage multiple commands
job - Answers - This is associated with each pipeline entered at a shell prompt
pipeline - Answers - All processes in a _____ are part of the job and are members of the
same process group
foreground processes - Answers - Processes that are part of the are _____ of that
controlling terminal
background processes - Answers - Process of a terminal that can not read input or
receive keyboard-generated interrupts from the terminal
session - Answers - Each terminal is its own ____ and can have a foreground process
and independent background process
terminal type - Answers - The ps command will show the device name of the controlling
terminal of a process in the _____ column
daemons - Answers - Processes that are started by the system and not from a shell
prompt
signal - Answers - A _____ is a software interrupt delivered to a process. They report
events to an executing program