LQ1 - Operating Systems - Operating-System Services

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 51

flashcard set

Earn XP

Description and Tags

52 Terms

1

operating systems

provides an environment for execution of programs and services to programs and users

New cards
2
  • user interface

  • program execution

  • i/o operations

  • file-system manipulation

  • communications

  • error detection

Enumerate a set of operating services that may help the user

New cards
3
  • resource allocation

  • logging

  • protection and security

Enumerate a set of operating services that ensures efficient operation of the system itself

New cards
4

logging

used to keep track of which users use how much and what kinds of computer resources

New cards
5

protection

involves ensuring that all access to system resources is controlled

New cards
6

security

requires user authentication from outsiders.

New cards
7

command line interpreter

allows direct command entry (it fetches user commands and executes them)

New cards
8

user operating system interface - GUI

User-friendy desktop metaphor interface

New cards
9

touchscreen interfaces

  • actions and selection based on gesture

  • virtual keyboard for text entry

  • voice commands

New cards
10

system calls

programming interface to the services provided by the OS

New cards
11

system-call interface

maintains a table indexed according to the numbers associated with each system call

New cards
12

system call interface

invokes the intended system call in OS kernel and returns status of the system call and any return values

New cards
13
  • pass the parameters in registers

  • pass block addresses as a parameter in a register (the blocks contain the parameters)

  • parameters placed onto the stack by the program and popped off the stack by the operating system

three general methods used to pass parameters to the OS

New cards
14
  1. process control

  2. file management

  3. device management

  4. information maintenance

  5. communications

  6. protection

types of system calls

New cards
15

debugger

used for determining bugs, single step execution

New cards
16

locks

used for managing access to shared data between processes

New cards
17

system programs

provide a convenient environment for program development and execution.

New cards
18
  • file manipulation

  • status information

  • programming language support

  • program loading and execution

  • communications

  • background services

  • application programs

system programs can be divided into:

New cards
19

file management

create, delete, copy, rename, print, dump, list, and generally manipulate files and directories

New cards
20

registry

used to store and retrieve configuration information

New cards
21

communications

provide the mechanism for creating virtual connections among processes, users, and computer systems

New cards
22

background services

known as services, subsystems, daemons; they provide facilities like disk checking, process scheduling, error logging, printing

New cards
23

relocatable object file

source code compiled into object files designed to be loaded into any physical memory location

New cards
24

linker

combines these (relocatable object files) into single binary executable file and brings in libraries

New cards
25

loader

programs residing on a secondary storage as a binary executable must be brought into memory by ___ to be executed

New cards
26

dynamically linked libraries

____ ____ ____ are loaded by modern general purpose systems

New cards
27

Application Binary Interface (ABI)

is architecture equivalent of API, defines how different components of binary code can interface for a given operating system on a given architecture, CPU, etc.

New cards
28

policy

refers to what needs to be done (in the context of designing and implementing an OS)?

New cards
29

mechanism

how to do something (in the context of designing and implementing an OS)?

New cards
30

false

it makes it easier to port but slower in performance

true or false: OS implementation utilizing a more higher-level language makes it hard to port but faster in performance

New cards
31

UNIX

  • utilizes a monolithic structure

  • limited by hardware functionality

  • its original version had limited structuring

New cards
32
  • system programs

  • the kernel

Two inseparable parts of the UNIX OS

New cards
33

monolithic plus modular design

the linux system structure

New cards
34

layered approach

is an OS implementation/approach that divides the OS into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface.

New cards
35

microkernels

an OS implementation that moves as much from the kernel into the user space.

New cards
36

message passing

communication in microkernels takes place between user modules using ___ ____

New cards
37

loadable kernel modules (LKMs)

  • uses object-oriented approach

  • each core component is separate

  • each talks to the others over known interfaces

  • each is loadable as needed within the kernel

New cards
38

bootstrap loader, BIOS

the ___ ____, ____, stored in ROM or EEPROM locates the kernel, loads it into memory, and starts it to boot the system

New cards
39

debugging

is finding and fixing errors or bugs

New cards
40

log files

OS generate ___ ___ containing error information

New cards
41

core dump

Application failure can generate ___ ___ file capturing memory of the process

New cards
42

crash dump

Operating system failure can generate ___ ___ file containing kernel memory

New cards
43

performance tuning

can optimize system performance (besides from crashing)

New cards
44

is per

New cards
45

Kernighan’s Law

debugging is twice as hard as writing the code in the first place

New cards
46

performance tuning

improves performance by removing bottlenecks

New cards
47

tracing

collects data for a specific event, such as steps involved in a system call invocation

New cards
48

strace

trace system calls invoked by a process

New cards
49

gdb

source-level debugger

New cards
50

perf

collection of Linux performance tools

New cards
51

tcpdump

collects network packets

New cards
52

BCC (BPF Compiler Collection)

is a rich toolkit providing tracing features for Linux

New cards

Explore top notes

note Note
studied byStudied by 42 people
932 days ago
5.0(1)
note Note
studied byStudied by 38 people
68 days ago
5.0(2)
note Note
studied byStudied by 35 people
679 days ago
4.0(2)
note Note
studied byStudied by 408 people
326 days ago
5.0(2)
note Note
studied byStudied by 40 people
883 days ago
5.0(2)
note Note
studied byStudied by 11 people
390 days ago
5.0(1)
note Note
studied byStudied by 3 people
769 days ago
5.0(1)
note Note
studied byStudied by 137 people
15 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (30)
studied byStudied by 2 people
467 days ago
5.0(1)
flashcards Flashcard (87)
studied byStudied by 268 people
384 days ago
4.0(4)
flashcards Flashcard (28)
studied byStudied by 6 people
29 days ago
5.0(1)
flashcards Flashcard (73)
studied byStudied by 11 people
124 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 14 people
719 days ago
5.0(2)
flashcards Flashcard (136)
studied byStudied by 3 people
143 days ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 37 people
129 days ago
5.0(1)
flashcards Flashcard (130)
studied byStudied by 4 people
4 days ago
5.0(1)
robot