
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































Operating System Concepts– 9th^ Edition Silberschatz, Galvin and Gagne^ ©^2013
(^) UNIX History (^) Design Principles (^) Programmer Interface (^) User Interface (^) Process Management (^) Memory Management (^) File System (^) I/O System (^) Interprocess Communication
(^) Written in a highlevel language (^) Distributed in source form (^) Provided powerful operatingsystem primitives on an inexpensive platform (^) Small size, modular, clean design
(^) Kernel: everything below the systemcall interface and above the physical hardware (^) Provides file system, CPU scheduling, memory management, and other OS functions through system calls (^) Systems programs: use the kernelsupported system calls to provide useful functions, such as compilation and file manipulation Like most computer systems, UNIX consists of two separable parts:
(^) A file is a sequence of bytes; the kernel does not impose a structure on files (^) Files are organized in treestructured directories (^) Directories are files that contain information on how to find other files (^) Path name : identifies a file by specifying a path through the directory structure to the file (^) Absolute path names start at root of file system (^) Relative path names start at the current directory (^) System calls for basic file manipulation: create, open, read, write, close, unlink, trunc
(^) Processes communicate via pipes; queues of bytes between two processes that are accessed by a file descriptor (^) All user processes are descendants of one original process, init (^) init forks a getty process: initializes terminal line parameters and passes the user’s login name to login (^) login sets the numeric user identifier of the process to that of the user (^) executes a shell which forks subprocesses for user commands
(^) Facility for handling exceptional conditions similar to software interrupts (^) The interrupt signal, SIGINT, is used to stop a command before that command completes (usually produced by ^C) (^) Signal use has expanded beyond dealing with exceptional events (^) Start and stop subprocesses on demand (^) SIGWINCH informs a process that the window in which output is being displayed has changed size (^) Deliver urgent data from network connections
(^) Set of related processes that cooperate to accomplish a common task (^) Only one process group may use a terminal device for I/O at any time (^) The foreground job has the attention of the user on the terminal (^) Background jobs – nonattached jobs that perform their function without user interaction (^) Access to the terminal is controlled by process group signals
(^) System calls to set and return an interval timer: getitmer/setitmer (^) Calls to set and return the current time: gettimeofday/settimeofday (^) Processes can ask for (^) their process identifier: getpid (^) their group identifier: getgid (^) the name of the machine on which they are executing: gethostname
(^) The systemcall interface to UNIX is supported and augmented by a large collection of library routines (^) Header files provide the definition of complex data structures used in system calls (^) Additional library support is provided for mathematical functions, network access, data conversion, etc.