LINUX Process Abstraction Flashcards

1
Q

what is a process

A

is an operating-system level entity
as a program running in the operating system.

Every process in the LINUX operating system has a unique process ID or PID
which is an integer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

process vs program

A

When we issue a command to run a
program, a process is created in the operating system which runs the program.

a process as an instance of a running program.
The operating system could have many processes that are all running the same program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

processes in the operating system exist in a hierarchy

A

process has a unique parent (the process
that created it)
If a process creates new processes, they are called children of that process.
Children of the same process are called siblings

process is at the root of this
hierarchy is operating system kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Process State

A

Running/Runnable: The process is running or is ready to run and is waiting for its turn to use the CPU.

Wait: The process is waiting for an event to occur, such as receipt of input from the keyboard or waiting for a child process to terminate.

Suspended: A process whose execution has been paused

Terminated: A state that briefly exists after a process has ended its execution while the operating system is releasing its resources and removing the process from the system.

Zombie: A process that has terminated and is waiting for its termination to be acknowledged by its parent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

signals

A

The operating system defines a set of signals.
Every process is capable of receiving these signals.\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly