UNIVERSITY OF TEXAS AT DALLAS COMPUTER SCIENCE DEPARTMENT - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

UNIVERSITY OF TEXAS AT DALLAS COMPUTER SCIENCE DEPARTMENT

Description:

Mouse. Keyboard. Touchscreen. Reading information from disk ... Multiple User OS allows several users to run programs and operate the computer at the same time. ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 24
Provided by: marthas
Category:

less

Transcript and Presenter's Notes

Title: UNIVERSITY OF TEXAS AT DALLAS COMPUTER SCIENCE DEPARTMENT


1
UNIVERSITY OF TEXAS AT DALLAS COMPUTER SCIENCE
DEPARTMENT
  • CS5375. Principles of Unix.
  • Professor Rafael Lacambra
  • http//www.utdallas.edu/Rafael.Lacambra/cs5375

2
  • Hardware/Software.
  • UNIX Operating system
  • Sharing resources
  • Communications
  • Utilities
  • Programmer Support
  • Standards

3
Hardware
  • Examples of input devices
  • Mouse
  • Keyboard
  • Touchscreen
  • Reading information from disk
  • Scanner
  • Tablet and pen
  • Joystick
  • Network/Modem
  • Examples of output devices
  • Monitor/terminal
  • Printer/Plotter
  • Writing information to disk
  • Network/Modem
  • Projector

4
Software
  • There are two general categories of software
    Operating System and Application Software.
  • OS manages all system resources to get the best
    performance from computers. It is a program
    loaded in RAM at boot time.
  • AS perform general operations word processing,
    databases, packages, utilities, commands, games...

5
Applications
Shell
Utilities
UNIX Kernel
Hardware
6
Software
  • Single User OS allows only one user to operate
    the computer at a time. (i.e. MS-DOS)
  • Multiple User OS allows several users to run
    programs and operate the computer at the same
    time. Many people can use the system resources
    almost simultaneously.

7
  • A file contains the source code
  • A program is an executable file.
  • A process is an instance of a program in
    execution.
  • A job is a collection of processes

program
ex1.ca.out
ex1.c
Source file
Compile
RAM
a.out
8
  • Many processes can execute simultaneously on a
    UNIX system.
  • Many instances of a program can exist
    simultaneously in the system.

2
RAM
weather
vi
vi
Kernel
9
  • Multitasking or multiprogramming each user on
    the system can run more than one job at the same
    time.

2
RAM
weather
vi
vi
Kernel
10
  • Multiprocessor, a computer that has more than one
    CPU. A job can be executed on one or more CPUs,
    and each CPU can do multitasking (thanks to UNIX)

2
3
0
1
RAM
weather
vi
vi
cal
11
Input/Output
  • Many processes read and write data from/to files.

cache
disk
RAM
weather
12
Kernel of the Unix OS
  • Controls the resources of the computer and
    allocates resources among users.
  • Allows easy and fast access to the users' files
    by providing a filesystem that manages the
    storage of information.
  • Controls all devices (disks, terminals, printers,
    etc)
  • Provides security and protection.

13
Kernel of the Unix OS
Manages Memory
Manages processes
Maintains Filesystems
Controls Access to Computer (users'
accounts, Permissions,)
Provides A simple user interface which offers a
set of services
Distributes System Resources
14
Sharing resources
  • CPUs among processes
  • dividing each second of CPU time into equal-size
    slices.
  • Allocates the slices based on a priority queue.
  • High priority process allocates more slices.

Kernelprocess table
RAM
weather
vi
vi
15
Sharing resources
  • Memory among processes
  • dividing RAM up into equal-size pages of memory
  • allocating the pages based in a priority scheme.
  • Only those portions of a process that actually
    need to be in RAM are ever loaded from disk.

RAM
Kernel
weather
vi
vi
pg. 6
16
Sharing resources
  • Unix shares disk space among users by dividing
    the disk into thousands of equal-size blocks
    and then allocating the blocks to users based on
    a quota system.
  • A single file is built out of one or more blocks.
  • Blocks do not have to be contiguous.

17
Communication
  • Process - graphics card
  • Hardware control
  • Process - keyboard
  • Hardware control
  • Process - network (mail, ftp, )
  • using sockets
  • Process - process
  • using pipes

18
Utilities
  • Standard Unix has more than 200 utilities
  • Editors
  • C compiler
  • Sorting utility
  • Graphical User Interface
  • Shells
  • and more

19
Programmer support
  • Open system
  • C library (systems calls) to communicate with the
    Kernel and use UNIX advantages like parallel
    programming, inter-process communication,
    sockets, etc.

20
Standards
  • ATT System V
  • Sun Microsystems System V Release 4
  • Berkeley Standard Distribution BSD
  • Open Software foundation headed by HP, IBM and
    DEC create OSF

21
History
22
History
23
  • Today Unix follows ATT System V with BSD
    extensions.
  • Solaris Sun Microsystems
  • Irix Silicon Graphics (SGI)
  • AIX IBM
  • HP-UX . HP
  • Or BSD
  • MacOS X 10.x. Apple
  • Linux (most flavors)
  • True64 UNIX . Compaq
  • Unicos. Cray Research
  • SunOS Sun Microsystems
Write a Comment
User Comments (0)
About PowerShow.com