Quiz 1 Flashcards
Study for quiz 1 with Liquang Wang.
compute-server
provides interface to client to request services
file-server
provides interface for clients to store and retrieve files
peer-to-peer
broadcast request for service and responds to requests for service via discovery protocol
software real-time system
specialized OS; real-time job gets higher priority and maintains it until it completes
hardware real-time system
specialized OS; guarantees that real-time jobs complete on time (missile control/robotics) and requires special hardware to implement
handheld systems
specialized hardware, lack of virtual memory, limited function with small, very limited OSs
OS Components
process management, IO management, main memory management, file & storage management, networking , protection and security, user interface
process or job
process is a program in execution; it is a key concept
do we need to load the entire program code into memory to execute it?
no
tasks of process management:
create, load, execute, suspend, resume, and terminate processes; process scheduling, process communication, process synchronization; allocate/de-allocate resources properly
tasks of io management of os
hide the details of hardware devices, maintain and provide device driver interfaces
main memory management
maximize memory utilization; map process to physical addresses and loaded into main memory to be executed
tasks of main memory management of os
keep track of memory
file & storage management
efficient and convenient
RAID?
duplicates important data
task of storage management
bad block marking, scheduling IO requests
protection v security
controlling access of processes or users to resources vs. defense of the system against internal and external attacks
shell scripts: interpreted or compiled? consequences?
interpreted, run slower
two types of popular classes of shells:
c shell and variants; bourne shell and variants
c shell
csh
variant c shell
tcsh
bourne shell
sh
variants
bash, ksh
two ways of launching scripts:
direct and indirect interpretation
direct interpretation
csh scriptfile [args..]
indirect interpretation
first line must be: #!/bin/csh
must be executable
predefined shell variables
$HOME, $PATH