Operating System
An interface between computer and user
Operating System Management Tasks
- Processor management (convert process into a man gable size and given to CPU)
- Memory Management (RAM (data coordination and check virtually memory is need or not))
- Device Management( an interface b/w connected device)
- Storage Management (direction for permanent data)
- Application (standard computer communication with software)
- User interface (Communication with user)
Functions of Operating System
- Booting (it Boots the Computer)
- User interface command line
- Graphical user interface
- Handling resources (Memory and peripheral Resource management)
- File Management (Store data and retrieve)
- Error management(Take maximum preventive methods to avoid errors)
Types of Operating System
- Simple Batch System ( There is no interaction b/w user and computer) . Giving jobs through card , tape etc.There is no mechanism to prioritize the process
- Multi Programming batch system (running other job with currents job ) CPU Always engaged .CPU never be idle (maximize the cpu usage )
- Time sharing system (minimizing the response time)
- Multiprocessor (several processor with common memnory )(Higher computing power and speed ). System divides in to many task and parallel it executes in many processors but use single os
- Desktop system (users covinence)
- Distributed operating system Low Price . Client server system . PEER to PEER (WWW)
- Clustered system (LAN network )each node monitor other node if one fails other will take charge and run . Asymmetric clustering e (hot stand by =host : monitor the active server). Symmetric (Two or more host and monitor each other)
- Parallel Clustures multiple hosts can access shared data
- Real time operating systems i) hard real time operating systems ii)soft real time systems
- Hand held systems (Cellular phones)
Process
A program in execution
Process memory divided into 4 sections
- Text section (compiled program codes)
- Data section (global and static variables)
- Heap (loop, malloc)
- Stack (local variables)
Process state
new
Ready (waiting to next process)
runningwait
terminates
Process control block
information about all process
Process state(running,ready ,wait)
Process id
CPU registers and program counter(address of next instruction)
memory management information (page table )
accounting information
i/o status information
Comments
Post a Comment