1 / 8

Computer System Basics Operating Systems: Unix, Linux, and Androids

Computer System Basics Operating Systems: Unix, Linux, and Androids. Lynn Choi Dept. Of Computer and Electronics Engineering. Unix. History Developed by Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna at AT&T Bell Labs in 1969

madelyn
Télécharger la présentation

Computer System Basics Operating Systems: Unix, Linux, and Androids

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer System BasicsOperating Systems: Unix, Linux, and Androids Lynn Choi Dept. Of Computer and Electronics Engineering

  2. Unix • History • Developed by Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna at AT&T Bell Labs in 1969 • C programming language is developed by Dennis Ritchie in 1973 to code UNIX • Originally developed in assembly languages and recoded in C in 1973 • Widely used in servers, workstations, Macs, and mobile devices • Several branches and versions available • Unix: BSD, System V, Solaris, HP-UX, AIX, OS X • Unix-like systems: Linux • Characteristics • Portable, multi-tasking, multi-user, time-sharing, client-server programming model • Plain text for storing data • Hierarchical file system • Treating IO devices, IPC (interprocess communication) as files • Small programs strung together through command-line interpreter (Shell) using pipes • Unix philosophy: keep it simple and small, make it modular and portable

  3. Unix Architecture • Kernel (source code in /usr/sys) • Key components of the operating system • Boot code, device drivers, kernel, and headers • Process management: concurrency control for multiprocessing • Memory management: virtual memory and paging • File management: hierarchical file system • Device and network management: IO devices & networks as files (stream of bytes) • Programming development environment • Cc (C compiler), as (assembler), ld (linker), lib (libraries), make (automatic builder),.. • Commands • Shell: command-line interpreter • Interpret user commands and start applications • Utilities: system utilities (mkfs, fsck,..) and user utilities (ps, kill, ls, cp, cat, vi,..) • Manuals and documentation

  4. Unix Architecture • Shell (UI) • Command-line interpreter • Interpret user commands and start applications • Utilities • Commands • ps, ls, vi, cat • Libraries • A collection of pre-written codes • Device Drivers • Translate high-level program calls to HW device commands • Hardware dependent and OS-specific

  5. Evolution of the Unix operating system • Mac OS X • Unix-based graphical OS • Derived from Next OS • Objective-C (OO programming) • Graphical UI • IOS • Apple’s mobile OS • Used for iPhone, iPod, iPad, and Apple TV • Derived from Mac OS X • Touch-screen UI

  6. Linux • Unix-like free and open source OS under GNU GPL (General Public License) based on Linux kernel • Linux kernel was created in 1992 by Linus Torvalds • Free and open source software is the primary difference between Linux and other OS • GNU GPL is the most widely used free software license • Copyleft license: Derived works can only be distributed under the same license terms to ensure the freedoms are preserved, even when the work is changed or added to. • Major platforms for mobile phones, tablet PCs, routers, desktops, mainframes, and supercomputers • Smartphone platform: the best selling smartphone platform since Q4 of 2010 • Android is based on a modified version of the Linux kernel • Server platform: 6 of the top 10 internet hosting companies run Linux while 2 of the top ten run FreeBSD, and the remaining 2 run MS Windows. • Mainframe platform: IBM market and sell Enterprise Linux Server on their mainframes • Supercomputer platform: 459 out of the top 500 supercomputers run Linux

  7. Android • Mobile OS developed by Open Handset Alliance led by Google • Google purchased Android, Inc., the initial developer of the Android, in 2005 • OHA: A consortium of 80 HW, SW, and telecommunication companies for the open standards for mobile devices • Android code is released under the Apache License, a free software license • Android Open Source Project (AOSP) is tasked with the maintenance and further development of Android • Android system • Consists of Android kernel, libraries & APIs (written in C), application frameworks, Android runtime system including Dalvik virtual machine, and applications • Android kernel is derived from Linux kernel • Some features (i.e. power management) was rejected by Linux developers • Android is a collection of middlewares built on top of Linux kernel • Apps are primarily written in Java • Dalvik : Android applications are converted into Dalvik executable format (.dex), which is designed for low computing and low memory environment • Unlike JVM (stack-machine), Dalvik is a register-based architecture

  8. Android Architecture

More Related