Question

List and explain the states of process in a specific operating system, such as; windows XP,...

List and explain the states of process in a specific operating system, such as; windows XP, windows 2000, Unix …

Homework Answers

Answer #1

Process:Process is an instance of a computer program that is being executed.It contains the program code and it's current ativity.
Process states in wwindows 2000:

At the highest level of abstraction windows2000 process comprises the folowing

->A private virtual addressspace

->An executable program

->A list of open handles to various system resources that are accessible to all threads in the process.

->A security context called an access token.

->A unique identifier called a process Id

->At least on thread of execution.

windows 2000 is a symmetric multiprocessing operating system.There is no master processor.

->windows2000 incorporates several features that are crucial to it success as a multiprocessor operating system.

->The ability to run operating system code on any available processor and on multiple processor at the same time.

->Multiple threads of execution within a single process.

->Fine-grained synchronization within the kernel as well as within device drivers and servers processmwhich allows more components to run cuncurrently on multiple processors.

Process in unix and windows XP:

Process in unix and windows are contain an address space.usually protected and virtual mapped into memory.the code for the running prigram.

->The data for the running program.

- execution stack and stack pointer and also heap

->The program counter(PC)

->A set of processor rigisters.that are general purpose and stsu registers.

->A set of system resources that are files, network connections,pipes.

process procedure:

->To users a process is identified by it process Id(PID).inthe os processes ar represented by entries in a process table.

->pid is index to a process table entry was process table entry=Process control block.

->Process control block is a larg data structure that contains al information abbout the process.

->Linux-defined in task_struct_over

->windows xp-define in EPROCESS

Process in Process control block:

Process control block contains the below info

->execution state,pc,sp&processor register stored when process is not in running state.

->memory management info and priviliges and owner information,scheduling priority an resource information and accounting information.

Process are created :

•when the system boot

•By the action prformed by user

•by the action of a batch manager an etc

Process terminattes

•Normally-exit,voluntarily on a error

•involuntarily on an error

•Terminated by the action a user (or) a process

Process states:

Process states are execution state,ready state,running state and waiting state.

Process creation in unix and linux:

Creates a new process for();

•allocate new process control block

•clones the calling process

•copy of the parent process address space

•copying the resources in kernel

Placess process control block on ready queue and return from fork() call

O for child and child pid for parent.

Process creation in windows:

Windows

NT/XP-combines fork and exec

Create process

•not a parent child relationship

•note-privileges required to creat a new process.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in...
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX? NTCreateProcess() fork() process() getpid()
Recommend an appropriate desktop operating system to replace Windows 7 and explain what advantages the operating...
Recommend an appropriate desktop operating system to replace Windows 7 and explain what advantages the operating system would have over Windows 7. You can draw on your personal experience to answer this question.
Draw and explain 5 state process model in operating system.
Draw and explain 5 state process model in operating system.
Explain the difference between signaled and non-signaled states with Windows dispatcher objects.
Explain the difference between signaled and non-signaled states with Windows dispatcher objects.
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course...
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course to allow the students to figure out how a single process (parent process) creates a child process and how they work on Unix/Linux(/Mac OS X/Windows) environment. Additionally, student should combine the code for describing inter-process communication into this assignment. Both parent and child processes interact with each other through shared memory-based communication scheme or message passing scheme. Environment: Unix/Linux environment (VM Linux or Triton...
Show how much virtual memory and physical memory is in use by the Windows operating system....
Show how much virtual memory and physical memory is in use by the Windows operating system. Use the Resource monitor manager or the CMD command. <<Show screenshot>> [Hint : You can research it on the web. One such web page is here] [ 5 pts] https://www.techrepublic.com/article/how-to-use-windows-10s-resource-monitor-to-track-memory-usage/
Which statement is true or false? a. The operating system is neither hardware nor software.   ...
Which statement is true or false? a. The operating system is neither hardware nor software.    b. Time spent in the OS is considered overhead. c. A device driver call is a kind of system call in the Unix operating system.     d. The code that changes the system clock runs in user mode.      e. The scheduler allows multiple processes to share the same processor under the           illusion of being the only process.                                          
List all of the paths a process can take between the three (3) states of the...
List all of the paths a process can take between the three (3) states of the Process Scheduler.
List two challenges an operating system faces when passing parameters between user and kernel mode (e.g.,...
List two challenges an operating system faces when passing parameters between user and kernel mode (e.g., consider the differences between passing parameters via procedures in the same process versus between processes/applications). Describe how an operating system can overcome them.
CRIMINAL JUSTICE: Compare and contrast the juvenile justice system and the adult criminal case process. List...
CRIMINAL JUSTICE: Compare and contrast the juvenile justice system and the adult criminal case process. List and explain two similarities and four differences between them.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT