CH2
CH2
One set of operating-system services provides functions that are helpful to the user:
User interface - Almost all operating systems have a user interface (UI).
Program execution - The system must be able to load a program into memory and to run
that program, end execution, either normally or abnormally (indicating error)
File-system manipulation - The file system is of particular interest. Programs need to read
and write files and directories, create and delete them, search them, list file Information,
permission management.
Resource allocation - When multiple users or multiple jobs running concurrently, resources
must be allocated to each of them
Many types of resources - CPU cycles, main memory, file storage, I/O devices.
Accounting - To keep track of which users use how much and what kinds of computer
resources
number associated with each system call System-call interface maintains a table indexed
according to these numbers
User goals – operating system should be convenient to use, easy to learn, reliable, safe, and
fast
System goals – operating system should be easy to design, implement, and maintain, as well
as flexible, reliable, error-free,and efficient
Linux and Solaris kernels in kernel address space, so monolithic, plus modular for dynamic
loading of functionality