Flashcards
Unix System Architecture (D1)
Cards in this deck (28)
- 1What is the layout (components of Linux OS layers)?User Mode:
-User Applications
-GNU C Library (glibc)
Kernel Mode:
-System Call Interface
-kernel
-Architecture-dependent kernel code
Hardware Platform - 2A lightweight process (LWP) is what?Is a process that shares resources. LWP runs in user mode of a single kernel thread and shares its address space and system resources with other LWP's
- 3True or False: Linux does not distinguish between threads and processes.TRUE
- 4What is the primary function of the kernel mode?is managing system resources and performing system services
- 5The kernel communicates requests form use mode to other kernel services and hardware using the System Call interface. System Call interfaces' primary function is?converts a process running in user mode to a protected kernel mode process.
(this allows the program to invoke protected kernel routines to perform system functions) - 6What term is being described below? -architecture dependent -common to all processor architecture supported by LinuxKernel
- 7What term is being described below? -known as Board support package (BSP) -serves as the processor and platform-specific code code for the given architectureArchitecture-Dependent Kernel Code
- 8name 4 components of the Unix Kernel.-interrupt handlers
-scheduler
-memory manager
-system services - 9This mode: -Consists of running user processes -user's process protected from other user's processes.User Mode
- 10The following are example of what? -Shells -UNIX commands -Utility Commands -User application programs -Libraries (GNU C Library glibc)USER processes
- 11This mode... primary function of this privileged area is to manage system resources and perform system servicesKernel Mode
- 12This... provides an interface to allow user programs to access kernel functions such as managing the file system , controlling processes, etcSystem Call
- 13What is the UNIX library/API (part of C library)glibc
(the library invokes an instruction that changes execution from user to kernel mode - 14When does a User process become a kernel process?when it executes a system call and begins executing kernel code
- 15UNIX command interface is a separate program referred to as/called what?shell
- 16What does the UNIX shell provide to the user?a user interface with the kernel
-the shell, commands, and utilities are separate programs that are part of the UNIX distribution, not a part of the kernel. - 17What is the memory management unit (MMU) responsible for?1) handles memory accessed by CPU
2) its functions are to translate virtual addresses to physical addresses. - 18What computer technique gives a process the impression that it has contiguous working memory?virtual memory
- 19When a user makes a request via syntax, what software layers are accessed by that request for a specific piece of hardware?1) User Layer
2) Kernel Service
3) Hardware interface layer - 20What are the 2 primary functions of the UNIX kernel?to manage system resources & perform system services
- 21What is also known as BSP and serves as the processor and platform-specific code for the given architecture?Architecture-dependent kernel code
- 22What UNIX program provides the user an interface with the kernel?Shell
- 23What provides an interface to allow user programs to access kernel functions?system call
- 24What hardware device is responsible for handling memory access requested by the CPU?MMU
- 25What is the process of saving inactive virtual memory pages to disk and restoring them to RAM when required?Paging
- 26What is the amount of memory allocated for all possible addresses for an entity such as device, file, server, or networked computer called?Address Space
- 27What space is considered to be an area (partition) of the hard drive that supports virtual memory?swap space
- 28what *nix command is used to view the amount of free used memory on your system? (Both Solaris and Linux)vmstat
Linux= si=pag-ins, so=page outs
solaris-pi-pageins, po=page outs
Information
- Description
- College Unix Flashcards on Unix System Architecture (D1), created by jeriel.juarbe on 17/08/2014.
- Created by
- jeriel.juarbe
- Views
- 42
- Rating