Operating System Components – theteche.com

These are the pieces of the operating system components we’ll be looking at:

  1. Process Management
  2. Main Memory Management
  3. File Management
  4. I/O System Management
  5. Secondary Management
  6. Networking
  7. Protection System
  8. Command-Interpreter System

Process Management

A process is a program in execution: (A program is passive, a process active.)
A process has resources (CPU time, files) and attributes that must be managed.
Management of processes includes:

  • Process Scheduling (priority, time management)
  • Creation/termination
  • Block/Unblock (suspension/resumption )
  • Synchronization
  • Communication
  • Deadlock handling
  • Debugging

Main Memory Management

  • Allocation/de-allocation for processes, files, I/O.
  • Maintenance of several processes at a time
  • Keep track of who’s using what memory
  • Movement of process memory to/from secondary storage.

File Management

A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data.

The operating system is responsible for the following activities in connections with file management:

  • File creation and deletion.
  • Directory creation and deletion.
  • Support of primitives for manipulating files and directories.
  • Mapping files onto secondary storage.
  • File backup on stable (nonvolatile) storage media.

I/O Management

  • Buffer caching system
  • Generic device driver code
  • Drivers for each device – translate read/write requests into disk position commands.

Secondary Storage Management

  • Disks, tapes, optical,
  • Free space management ( paging/swapping )
  • Storage allocation ( what data goes where on disk )
  • Disk scheduling

Operating System Structures

  • Communication system between distributed processors.
  • Getting information about files/processes/etc. on a remote machine.
  • Can use either a message passing or a shared memory model.
  • Of files, memory, CPU, etc.
  • Means controlling of access
  • Depends on the attributes of the file and user
System Programs
  • Command Interpreters — Program that accepts control statements (shell, GUI interface.)
  • Compilers/linkers
  • Communications (ftp, telnet, operating system components)
Read More Topics
Application of linked list
Dynamic memory allocation
The relationship between C and C++
Virtual function in C++
Abstract class in C++

About the author

Santhakumar Raja

Hi, This blog is dedicated to students to stay update in the education industry. Motivates students to become better readers and writers.

View all posts

Leave a Reply