CSI3131 – Lab 1 Observing Process Behaviour. Running Linux under Virtual PC  Start Virtual PC  This Windows program provides a virtual machine to run.

Slides:



Advertisements
Similar presentations
Litmus Learning Primer tests
Advertisements

CSC 360- Instructor: K. Wu Overview of Operating Systems.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Linux+ Guide to Linux Certification, Second Edition
Chapter One The Essence of UNIX.
Interacting with a computer (in general). Before we can program a computer... Before we can learn to instruct a computer, we must first learn to: Devices.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Chapter 2 Accessing Your System and the Common Desktop Environment.
1 Web Server Administration Chapter 3 Installing the Server.
Processes & Daemons Chapter IV / Part III. Commands Internal commands: alias, cd, echo, pwd, time External commands, code is in a file: grep, ls, more.
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 24 NTFS Permissions and Sharing Printers 1.
Guide To UNIX Using Linux Third Edition
Overview Basic functions Features Installation: Windows host and Linux host.
Installing software on personal computer
Authentication and authorization Access control consists of two steps, authentication and authorization. Subject Do operation Reference monitor Object.
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
1 Nachos Introduction Lecturer: Tei-Wei Kuo TA: Ya-Su Chen, Yuan-Hao chang Date: 2005/10/19.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 9: Basic Linux Administration Chapter 11: System Administration: Core Concepts Chapter 16:
Computers & Operating Systems
IST 222 Day 3. Homework for Today Take up homework and go over Go to Microsoft website and check out their hardware compatibility list.
Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
UNIX Unit 1- Architecture of Unix - By Pratima.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Agenda Using FTP What is FTP? How to Use the FTP Program How to transfer files Using FTP.
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
IT Essentials 1 v3 Module 4 JEOPARDY IT Essentials 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
1 CSE 451 Section 2: Processes, the shell, and system calls.
OPERATING SYSTEM BASICS. What is an operating system and what does it do? The operating system has two basic functions: –communicates with the PC.
به نام خدای مهربان زبان تخصصی دانشجویان کامپیوتر English for Computer Students درس 3 جوانمرد Ejavanmard.blogfa.com
BY: SALMAN 1.
CSC227: Operating Systems
Guide to Linux Installation and Administration, 2e
BY: SALMAN.
UBUNTU INSTALLATION
Chapter 4 – Introduction to Operating System Concepts
Virtual Machines.
Computer Software CS 107 Lecture 2 September 1, :53 PM.
OPERATING SYSTEMS.
Shell & Kernel Concepts in Operating System
Chapter 2: System Structures
Unix : Introduction and Commands
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
Software - Operating Systems
Presentation transcript:

CSI3131 – Lab 1 Observing Process Behaviour

Running Linux under Virtual PC  Start Virtual PC  This Windows program provides a virtual machine to run any other operating system  It offers an environment that looks like the raw computer system, that is, the hardware.  Select SiteDev Machine and click Start  This will have Virtual PC start up a virtual machine and boot the Linux OS named SiteDev  Log in with the user “test1” and password “site”  The same password can be used to log in as root – this is the administrator account.  It is always safer to work with a regular account to prevent damaging important system files.  Use this account to complete the lab.

Linux Processes  Linux presents information on processes via the file system  Statistics on running processes can be examined by opening regular files.  Please note that these files do not exist on the hard drive, but in main memory. In fact they are not files at all, but simply system data presented as files.  The directory /proc contains a set of directories and files that provides access to general OS information and information about each process running on the system.  Each process has a unique identifier, called the PID (Process IDentifier). In /proc, the PID is presented as a directory. The contents of the PID directory provides information on the corresponding process.  You can obtain documentation on the proc directory using “ man proc ” command

Objective of the lab  In the first part of the lab, you shall examine how a process executes and changes  Some utilities (shell programs) and C programs have been provided to examine the changes in processes (by reading the contents of the /proc directory) as they execute different programs.  You will gain insight into the state of a process and the difference between running in the two modes of execution (kernel and user).  In the second part of the lab, you shall gain experience with your first system calls – fork, exec, and kill  These system calls provide the means to create new processes to run programs (fork and exec) and to terminate processes (using kill).  Note that these are the same system calls used by the SHELL (your CLI interface) to manipulate processes

 You have this week and next week to complete the lab, so take your time to understand what you are doing.  Follow the instructions in the lab writeup.  The TA shall circulate in the room to help answer any questions  Good luck.