Contents. Volume 1 Base Definitions, Issue

Size: px
Start display at page:

Download "Contents. Volume 1 Base Definitions, Issue"

Transcription

1 Volume 1 Base Definitions, Issue Chapter 1 Introduction Scope Conformance Normative References Change History Terminology Definitions and Concepts Portability Codes Margin Code Notation Chapter 2 Conformance Implementation Conformance Requirements Documentation POSIX Conformance XSI Conformance Option Groups Options Application Conformance Strictly Conforming POSIX Application Conforming POSIX Application Conforming POSIX Application Using Extensions Strictly Conforming XSI Application Conforming XSI Application Using Extensions Language-Dependent Services for the C Programming Language Other Language-Related Specifications Chapter 3 Definitions Abortive Release Absolute Pathname Access Mode Additional File Access Control Mechanism Address Space Advisory Information Affirmative Response Alert Alert Character (<alert>) Alias Name Alignment Alternate File Access Control Mechanism Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xvii

2 3.13 Alternate Signal Stack Ancillary Data Angle Brackets Apostrophe Character (<apostrophe>) Application Application Address Application Program Interface (API) Appropriate Privileges Argument Arm (a Timer) Asterisk Character (<asterisk>) Async-Cancel-Safe Function Asynchronous Events Asynchronous Input and Output Async-Signal-Safe Function Asynchronously-Generated Signal Asynchronous I/O Completion Asynchronous I/O Operation Authentication Authorization Background Job Background Process Background Process Group (or Background Job) Backquote Character Backslash Character (<backslash>) Backspace Character (<backspace>) Barrier Basename Basic Regular Expression (BRE) Batch Access List Batch Administrator Batch Client Batch Destination Batch Destination Identifier Batch Directive Batch Job Batch Job Attribute Batch Job Identifier Batch Job Name Batch Job Owner Batch Job Priority Batch Job State Batch Name Service Batch Name Space Batch Node Batch Operator Batch Queue Batch Queue Attribute Batch Queue Position Batch Queue Priority Batch Rerunability Batch Restart xviii Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

3 3.65 Batch Server Batch Server Name Batch Service Batch Service Request Batch Submission Batch System Batch Target User Batch User Bind Blank Character (<blank>) Blank Line Blocked Process (or Thread) Blocking Block-Mode Terminal Block Special File Braces Brackets Broadcast Built-In Utility (or Built-In) Byte Byte Input/Output Functions Carriage-Return Character (<carriage-return>) Character Character Array Character Class Character Set Character Special File Character String Child Process Circumflex Character (<circumflex>) Clock Clock Jump Clock Tick Coded Character Set Codeset Collating Element Collation Collation Sequence Column Position Command Command Language Interpreter Composite Graphic Symbol Condition Variable Connected Socket Connection Connection Mode Connectionless Mode Control Character Control Operator Controlling Process Controlling Terminal Conversion Descriptor Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xix

4 3.117 Core File CPU Time (Execution Time) CPU-Time Clock CPU-Time Timer Current Job Current Working Directory Cursor Position Datagram Data Segment Deferred Batch Service Device Device ID Directory Directory Entry (or Link) Directory Stream Disarm (a Timer) Display Display Line Dollar-Sign Character (<dollar-sign>) Dot Dot-Dot Double-Quote Character Downshifting Driver Effective Group ID Effective User ID Eight-Bit Transparency Empty Directory Empty Line Empty String (or Null String) Empty Wide-Character String Encoding Rule Entire Regular Expression Epoch Equivalence Class Era Event Management Executable File Execute Execution Time Execution Time Monitoring Expand Extended Regular Expression (ERE) Extended Security Controls Feature Test Macro Field FIFO Special File (or FIFO) File File Description File Descriptor File Group Class File Mode xx Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

5 3.169 File Mode Bits Filename File Offset File Other Class File Owner Class File Permission Bits File Serial Number File System File Type Filter First Open (of a File) Flow Control Foreground Job Foreground Process Foreground Process Group (or Foreground Job) Foreground Process Group ID Form-Feed Character (<form-feed>) Graphic Character Group Database Group ID Group Name Hard Limit Hard Link Home Directory Host Byte Order Incomplete Line Inf Instrumented Application Interactive Shell Internationalization Interprocess Communication Invoke Job Job Control Job Control Job ID Last Close (of a File) Line Linger Link Link Count Local Customs Local Interprocess Communication (Local IPC) Locale Localization Login Login Name Map Marked Message Matched Memory Mapped Files Memory Object Memory-Resident Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxi

6 3.221 Message Message Catalog Message Catalog Descriptor Message Queue Mode Monotonic Clock Mount Point Multi-Character Collating Element Mutex Name Named STREAM NaN (Not a Number) Native Language Negative Response Network Network Address Network Byte Order Newline Character (<newline>) Nice Value Non-Blocking Non-Spacing Characters NUL Null Byte Null Pointer Null String Null Wide-Character Code Number-Sign Character (<number-sign>) Object File Octet Offset Maximum Opaque Address Open File Open File Description Operand Operator Option Option-Argument Orientation Orphaned Process Group Page Page Size Parameter Parent Directory Parent Process Parent Process ID Pathname Pathname Component Path Prefix Pattern Period Character (<period>) Permissions Persistence xxii Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

7 3.273 Pipe Polling Portable Character Set Portable Filename Character Set Positional Parameter Preallocation Preempted Process (or Thread) Previous Job Printable Character Printable File Priority Priority Band Priority Inversion Priority Scheduling Priority-Based Scheduling Privilege Process Process Group Process Group ID Process Group Leader Process Group Lifetime Process ID Process Lifetime Process Memory Locking Process Termination Process-To-Process Communication Process Virtual Time Program Protocol Pseudo-Terminal Radix Character Read-Only File System Read-Write Lock Real Group ID Real Time Realtime Signal Extension Real User ID Record Redirection Redirection Operator Referenced Shared Memory Object Refresh Regular Expression Region Regular File Relative Pathname Relocatable File Relocation Requested Batch Service (Time) Resolution Robust Mutex Root Directory Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxiii

8 3.325 Runnable Process (or Thread) Running Process (or Thread) Saved Resource Limits Saved Set-Group-ID Saved Set-User-ID Scheduling Scheduling Allocation Domain Scheduling Contention Scope Scheduling Policy Screen Scroll Semaphore Session Session Leader Session Lifetime Shared Memory Object Shell Shell, the Shell Script Signal Signal Stack Single-Quote Character Slash Character (<slash>) Socket Socket Address Soft Limit Source Code Space Character (<space>) Spawn Special Built-In Special Parameter Spin Lock Sporadic Server Standard Error Standard Input Standard Output Standard Utilities Stream STREAM STREAM End STREAM Head STREAMS Multiplexor String Subshell Successfully Transferred Supplementary Group ID Suspended Job Symbolic Constant Symbolic Link Synchronized Input and Output Synchronized I/O Completion Synchronized I/O Data Integrity Completion xxiv Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

9 3.377 Synchronized I/O File Integrity Completion Synchronized I/O Operation Synchronous I/O Operation Synchronously-Generated Signal System System Boot System Clock System Console System Crash System Databases System Documentation System Process System Reboot System Trace Event System-Wide Tab Character (<tab>) Terminal (or Terminal Device) Text Column Text File Thread Thread ID Thread List Thread-Safe Thread-Specific Data Key Tilde Character (<tilde>) Timeouts Timer Timer Overrun Token Trace Analyzer Process Trace Controller Process Trace Event Trace Event Type Trace Event Type Mapping Trace Filter Trace Generation Version Trace Log Trace Point Trace Stream Trace Stream Identifier Trace System Traced Process Tracing Status of a Trace Stream Typed Memory Name Space Typed Memory Object Typed Memory Pool Typed Memory Port Unbind Unit Data Upshifting User Database User ID Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxv

10 3.429 User Name User Trace Event Utility Variable Vertical-Tab Character (<vertical-tab>) White Space Wide-Character Code (C Language) Wide-Character Input/Output Functions Wide-Character String Word Working Directory (or Current Working Directory) Worldwide Portability Interface Write XSI XSI-Conformant Zombie Process ± Chapter 4 General Concepts Concurrent Execution Directory Protection Extended Security Controls File Access Permissions File Hierarchy Filenames Filename Portability File Times Update Host and Network Byte Orders Measurement of Execution Time Memory Synchronization Pathname Resolution Process ID Reuse Scheduling Policy Seconds Since the Epoch Semaphore Thread-Safety Tracing Treatment of Error Conditions for Mathematical Functions Domain Error Pole Error Range Error Treatment of NaN Arguments for the Mathematical Functions Utility Variable Assignment Chapter 5 File Format Notation Chapter 6 Character Set Portable Character Set Character Encoding xxvi Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

11 6.3 C Language Wide-Character Codes Character Set Description File State-Dependent Character Encodings Chapter 7 Locale General POSIX Locale Locale Definition LC_CTYPE LC_COLLATE LC_MONETARY LC_NUMERIC LC_TIME LC_MESSAGES Locale Definition Grammar Locale Lexical Conventions Locale Grammar Chapter 8 Environment Variables Environment Variable Definition Internationalization Variables Other Environment Variables Chapter 9 Regular Expressions Regular Expression Definitions Regular Expression General Requirements Basic Regular Expressions BREs Matching a Single Character or Collating Element BRE Ordinary Characters BRE Special Characters Periods in BREs RE Bracket Expression BREs Matching Multiple Characters BRE Precedence BRE Expression Anchoring Extended Regular Expressions EREs Matching a Single Character or Collating Element ERE Ordinary Characters ERE Special Characters Periods in EREs ERE Bracket Expression EREs Matching Multiple Characters ERE Alternation ERE Precedence ERE Expression Anchoring Regular Expression Grammar BRE/ERE Grammar Lexical Conventions RE and Bracket Expression Grammar ERE Grammar Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxvii

12 Chapter 10 Directory Structure and Devices Directory Structure and Files Output Devices and Terminal Types Chapter 11 General Terminal Interface Interface Characteristics Opening aterminal Device File Process Groups The Controlling Terminal Terminal Access Control Input Processing and Reading Data Canonical Mode Input Processing Non-Canonical Mode Input Processing Writing Data and Output Processing Special Characters Modem Disconnect Closing a Terminal Device File Parameters that Can be Set The termios Structure Input Modes Output Modes Control Modes Local Modes Special Control Characters Chapter 12 Utility Conventions Utility Argument Syntax Utility Syntax Guidelines Chapter 13 Headers Volume 2 System Interfaces, Issue Chapter 1 Introduction Relationship to Other Formal Standards Format of Entries Chapter 2 General Information Use and Implementation of Interfaces Use and Implementation of Functions Use and Implementation of Macros The Compilation Environment POSIX.1 Symbols The Name Space Error Numbers Additional Error Numbers Signal Concepts Signal Generation and Delivery Realtime Signal Generation and Delivery Signal Actions Signal Effects on Other Functions xxviii Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

13 2.5 Standard I/O Streams Interaction of File Descriptors and Standard I/O Streams Stream Orientation and Encoding Rules STREAMS Accessing STREAMS XSI Interprocess Communication IPC General Description Realtime Realtime Signals Asynchronous I/O Memory Management Process Scheduling Clocks and Timers Threads Thread-Safety Thread IDs Thread Mutexes Thread Scheduling Thread Cancellation Thread Read-Write Locks Thread Interactions with Regular File Operations Use of Application-Managed Thread Stacks Sockets Address Families Addressing Protocols Routing Interfaces Socket Types Socket I/O Mode Socket Owner Socket Queue Limits Pending Error Socket Receive Queue Socket Out-of-Band Data State Connection Indication Queue Signals Asynchronous Errors Use of Options Use of Sockets for Local UNIX Connections Use of Sockets over Internet Protocols Use of Sockets over Internet Protocols Based on IPv Use of Sockets over Internet Protocols Based on IPv Tracing Tracing Data Definitions Trace Event Type Definitions Trace Functions Data Types Defined Types Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxix

14 The char Type Pointer Types Chapter 3 System Interfaces Volume 3 Shell and Utilities, Issue Chapter 1 Introduction Relationship to Other Documents System Interfaces Concepts Derived from the ISO C Standard Utility Limits Grammar Conventions Utility Description Defaults Considerations for Utilities in Support of Files of Arbitrary Size Built-In Utilities Chapter 2 Shell Command Language Shell Introduction Quoting Escape Character (Backslash) Single-Quotes Double-Quotes Token Recognition Alias Substitution Reserved Words Parameters and Variables Positional Parameters Special Parameters Shell Variables Word Expansions Tilde Expansion Parameter Expansion Command Substitution Arithmetic Expansion Field Splitting Pathname Expansion Quote Removal Redirection Redirecting Input Redirecting Output Appending Redirected Output Here-Document Duplicating an Input File Descriptor Duplicating an Output File Descriptor Open File Descriptors for Reading and Writing Exit Status and Errors Consequences of Shell Errors Exit Status for Commands Shell Commands xxx Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

15 2.9.1 Simple Commands Pipelines Lists Compound Commands Function Definition Command Shell Grammar Shell Grammar Lexical Conventions Shell Grammar Rules Signals and Error Handling Shell Execution Environment Pattern Matching Notation Patterns Matching a Single Character Patterns Matching Multiple Characters Patterns Used for Filename Expansion Special Built-In Utilities Chapter 3 Batch Environment Services General Concepts Batch Client-Server Interaction Batch Queues Batch Job Creation Batch Job Tracking Batch Job Routing Batch Job Execution Batch Job Exit Batch Job Abort Batch Authorization Batch Administration Batch Notification Batch Services Batch Job States Deferred Batch Services Requested Batch Services Common Behavior for Batch Environment Utilities Batch Job Identifier Destination Multiple Keyword-Value Pairs Chapter 4 Utilities Volume 4 Rationale (Informative), Issue Part A Base Definitions Appendix A Rationale for Base Definitions A.1 Introduction A.1.1 Scope A.1.2 Conformance A.1.3 Normative References A.1.4 Change History A.1.5 Terminology Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxxi

16 A.1.6 Definitions and Concepts A.1.7 Portability A.2 Conformance A.2.1 Implementation Conformance A.2.2 Application Conformance A.2.3 Language-Dependent Services for the C Programming Language A.2.4 Other Language-Related Specifications A.3 Definitions A.4 General Concepts A.4.1 Concurrent Execution A.4.2 Directory Protection A.4.3 Extended Security Controls A.4.4 File Access Permissions A.4.5 File Hierarchy A.4.6 Filenames A.4.7 Filename Portability A.4.8 File Times Update A.4.9 Host and Network Byte Order A.4.10 Measurement of Execution Time A.4.11 Memory Synchronization A.4.12 Pathname Resolution A.4.13 Process ID Reuse A.4.14 Scheduling Policy A.4.15 Seconds Since the Epoch A.4.16 Semaphore A.4.17 Thread-Safety A.4.18 Tracing A.4.19 A.4.20 Treatment of Error Conditions for Mathematical Functions Treatment of NaN Arguments for Mathematical Functions A.4.21 Utility A.4.22 Variable Assignment A.5 File Format Notation A.6 Character Set A.6.1 Portable Character Set A.6.2 Character Encoding A.6.3 C Language Wide-Character Codes A.6.4 Character Set Description File A.7 Locale A.7.1 General A.7.2 POSIX Locale A.7.3 Locale Definition A.7.4 Locale Definition Grammar A.7.5 Locale Definition Example A.8 Environment Variables A.8.1 Environment Variable Definition A.8.2 Internationalization Variables A.8.3 Other Environment Variables A.9 Regular Expressions A.9.1 Regular Expression Definitions xxxii Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

17 A.9.2 Regular Expression General Requirements A.9.3 Basic Regular Expressions A.9.4 Extended Regular Expressions A.9.5 Regular Expression Grammar A.10 Directory Structure and Devices A.10.1 Directory Structure and Files A.10.2 Output Devices and Terminal Types A.11 General Terminal Interface A.11.1 Interface Characteristics A.11.2 Parameters that Can be Set A.12 Utility Conventions A.12.1 Utility Argument Syntax A.12.2 Utility Syntax Guidelines A.13 Headers A.13.1 Format of Entries A.13.2 Removed Headers in Issue Part B System Interfaces Appendix B Rationale for System Interfaces B.1 Introduction B.1.1 Change History B.1.2 Relationship to Other Formal Standards B.1.3 Format of Entries B.2 General Information B.2.1 Use and Implementation of Interfaces B.2.2 The Compilation Environment B.2.3 Error Numbers B.2.4 Signal Concepts B.2.5 Standard I/O Streams B.2.6 STREAMS B.2.7 XSI Interprocess Communication B.2.8 Realtime B.2.9 Threads B.2.10 Sockets B.2.11 Tracing B.2.12 Data Types B.3 System Interfaces B.3.1 System Interfaces Removed in this Version B.3.2 System Interfaces Removed in the Previous Version B.3.3 Examples for Spawn Part C Shell and Utilities Appendix C Rationale for Shell and Utilities C.1 Introduction C.1.1 Change History C.1.2 Relationship to Other Documents C.1.3 Utility Limits C.1.4 Grammar Conventions C.1.5 Utility Description Defaults Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxxiii

18 C.1.6 Considerations for Utilities in Support of Files of Arbitrary Size C.1.7 Built-In Utilities C.2 Shell Command Language C.2.1 Shell Introduction C.2.2 Quoting C.2.3 Token Recognition C.2.4 Reserved Words C.2.5 Parameters and Variables C.2.6 Word Expansions C.2.7 Redirection C.2.8 Exit Status and Errors C.2.9 Shell Commands C.2.10 Shell Grammar C.2.11 Signals and Error Handling C.2.12 Shell Execution Environment C.2.13 Pattern Matching Notation C.2.14 Special Built-In Utilities C.3 Batch Environment Services and Utilities C.3.1 Batch General Concepts C.3.2 Batch Services C.3.3 Common Behavior for Batch Environment Utilities C.4 Utilities C.4.1 Utilities Removed in this Version C.4.2 Utilities Removed in the Previous Version C.4.3 Exclusion of Utilities Part D Portability Considerations Appendix D Portability Considerations (Informative) D.1 User Requirements D.1.1 Configuration Interrogation D.1.2 Process Management D.1.3 Access to Data D.1.4 Access to the Environment D.1.5 Access to Determinism and Performance Enhancements D.1.6 Operating System-Dependent Profile D.1.7 I/O Interaction D.1.8 Internationalization Interaction D.1.9 C-Language Extensions D.1.10 Command Language D.1.11 Interactive Facilities D.1.12 Accomplish Multiple Tasks Simultaneously D.1.13 Complex Data Manipulation D.1.14 File Hierarchy Manipulation D.1.15 Locale Configuration D.1.16 Inter-User Communication D.1.17 System Environment D.1.18 Printing D.1.19 Software Development xxxiv Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

19 D.2 Portability Capabilities D.2.1 Configuration Interrogation D.2.2 Process Management D.2.3 Access to Data D.2.4 Access to the Environment D.2.5 Bounded (Realtime) Response D.2.6 Operating System-Dependent Profile D.2.7 I/O Interaction D.2.8 Internationalization Interaction D.2.9 C-Language Extensions D.2.10 Command Language D.2.11 Interactive Facilities D.2.12 Accomplish Multiple Tasks Simultaneously D.2.13 Complex Data Manipulation D.2.14 File Hierarchy Manipulation D.2.15 Locale Configuration D.2.16 Inter-User Communication D.2.17 System Environment D.2.18 Printing D.2.19 Software Development D.2.20 Future Growth D.3 Profiling Considerations D.3.1 Configuration Options D.3.2 Configuration Options (Shell and Utilities) D.3.3 Configurable Limits D.3.4 Configuration Options (System Interfaces) D.3.5 Configurable Limits D.3.6 Optional Behavior Part E Subprofiling Considerations Appendix E Subprofiling Considerations (Informative) E.1 Subprofiling Option Groups List of Figures List of Tables Index B-1 Example of a System with Typed Memory B-2 Trace System Overview: for Offline Analysis B-3 Trace System Overview: for Online Analysis B-4 Trace System Overview: States of a Trace Stream B-5 Trace Another Process B-6 Trace Name Space Overview: With Third-Party Library Job Control Job ID Formats Escape Sequences and Associated Actions Portable Character Set Control Character Set Base Specifications, Issue 7 Copyright , IEEE and The Open Group. All rights reserved. xxxv

20 7-1 Valid Character Class Combinations Control Character Names Value of Level for Socket Options Socket-Level Options Trace Option: System Trace Events Trace and Trace Event Filter Options: System Trace Events Trace and Trace Log Options: System Trace Events Trace, Trace Log, and Trace Event Filter Options: System Trace Events Trace Option: User Trace Event Actions when Creating a File that Already Exists Selected ISO C Standard Operators and Control Flow Keywords Utility Limit Minimum Values Symbolic Utility Limits Regular Built-In Utilities Batch Utilities Environment Variable Summary Next State Table Results/Output Table Batch Services Summary A-1 Historical Practice for Symbolic Links xxxvi Copyright , IEEE and The Open Group. All rights reserved. Base Specifications, Issue 7

ISO/IEC/ IEEE 9945 INTERNATIONAL STANDARD. Information technology Portable Operating System Interface (POSIX ) Base Specifications, Issue 7

ISO/IEC/ IEEE 9945 INTERNATIONAL STANDARD. Information technology Portable Operating System Interface (POSIX ) Base Specifications, Issue 7 INTERNATIONAL STANDARD This is a preview - click here to buy the full publication ISO/IEC/ IEEE 9945 First edition 2009-09-15 Information technology Portable Operating System Interface (POSIX ) Base Specifications,

More information

Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions

Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions 1. What are the different parts of UNIX system? i. Programs

More information

Linux Kernel Architecture

Linux Kernel Architecture Professional Linux Kernel Architecture Wolf gang Mauerer WILEY Wiley Publishing, Inc. Introduction xxvii Chapter 1: Introduction and Overview 1 Tasks of the Kernel v -- 2 Implementation Strategies 3 Elements

More information

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files CSC209 Review CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files ... and systems programming C basic syntax functions arrays structs

More information

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs.

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs. CSC209 Review CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files... and systems programming C basic syntax functions arrays structs

More information

UNIT I Linux Utilities

UNIT I Linux Utilities UNIT I Linux Utilities 1. a) How does Linux differ from Unix? Discuss the features of Linux. 5M b) Explain various text processing utilities, with a suitable example for each. 5M 2. a) Explain briefly

More information

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS Contents Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS 1.1. INTRODUCTION TO COMPUTERS... 1 1.2. HISTORY OF C & C++... 3 1.3. DESIGN, DEVELOPMENT AND EXECUTION OF A PROGRAM... 3 1.4 TESTING OF PROGRAMS...

More information

(MCQZ-CS604 Operating Systems)

(MCQZ-CS604 Operating Systems) command to resume the execution of a suspended job in the foreground fg (Page 68) bg jobs kill commands in Linux is used to copy file is cp (Page 30) mv mkdir The process id returned to the child process

More information

UNIX Shell Programming

UNIX Shell Programming $!... 5:13 $$ and $!... 5:13.profile File... 7:4 /etc/bashrc... 10:13 /etc/profile... 10:12 /etc/profile File... 7:5 ~/.bash_login... 10:15 ~/.bash_logout... 10:18 ~/.bash_profile... 10:14 ~/.bashrc...

More information

CSC209 Review. Yeah! We made it!

CSC209 Review. Yeah! We made it! CSC209 Review Yeah! We made it! 1 CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files 2 ... and C programming... C basic syntax functions

More information

lsx [ls_options ] [names]

lsx [ls_options ] [names] NAME ls, lc, l, ll, lsf, lsr, lsx - list contents of directories SYNOPSIS ls [-abcdefgilmnopqrstuxacfhlr1] [names] lc [-abcdefgilmnopqrstuxacfhlr1] [names] l [ls_options ] [names] ll [ls_options ] [names]

More information

LINUX INTERNALS & NETWORKING Weekend Workshop

LINUX INTERNALS & NETWORKING Weekend Workshop Here to take you beyond LINUX INTERNALS & NETWORKING Weekend Workshop Linux Internals & Networking Weekend workshop Objectives: To get you started with writing system programs in Linux Build deeper view

More information

Linux Driver and Embedded Developer

Linux Driver and Embedded Developer Linux Driver and Embedded Developer Course Highlights The flagship training program from Veda Solutions, successfully being conducted from the past 10 years A comprehensive expert level course covering

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : ACS010 Class : III

More information

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc.

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc. Appendix A GLOSSARY SYS-ED/ Computer Education Techniques, Inc. $# Number of arguments passed to a script. $@ Holds the arguments; unlike $* it has the capability for separating the arguments. $* Holds

More information

Bash Reference Manual

Bash Reference Manual Bash Reference Manual Reference Documentation for Bash Edition 3.1-beta1, for Bash Version 3.1-beta1. September 2005 Chet Ramey, Case Western Reserve University Brian Fox, Free Software Foundation This

More information

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A CROSS-REFERENCE TABLE ASME Including A17.1a-1997 Through A17.1d 2000 vs. ASME 1 1.1 1.1 1.1.1 1.2 1.1.2 1.3 1.1.3 1.4 1.1.4 2 1.2 3 1.3 4 Part 9 100 2.1 100.1 2.1.1 100.1a 2.1.1.1 100.1b 2.1.1.2 100.1c

More information

Creating a Shell or Command Interperter Program CSCI411 Lab

Creating a Shell or Command Interperter Program CSCI411 Lab Creating a Shell or Command Interperter Program CSCI411 Lab Adapted from Linux Kernel Projects by Gary Nutt and Operating Systems by Tannenbaum Exercise Goal: You will learn how to write a LINUX shell

More information

Bash Reference Manual Reference Documentation for Bash Edition 2.5b, for Bash Version 2.05b. July 2002

Bash Reference Manual Reference Documentation for Bash Edition 2.5b, for Bash Version 2.05b. July 2002 .tex Bash Reference Manual Reference Documentation for Bash Edition 2.5b, for Bash Version 2.05b. July 2002 Chet Ramey, Case Western Reserve University Brian Fox, Free Software Foundation Copyright c 1991-2002

More information

PROCESS MANAGEMENT. Operating Systems 2015 Spring by Euiseong Seo

PROCESS MANAGEMENT. Operating Systems 2015 Spring by Euiseong Seo PROCESS MANAGEMENT Operating Systems 2015 Spring by Euiseong Seo Today s Topics Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication

More information

UNIT I Linux Utilities and Working with Bash

UNIT I Linux Utilities and Working with Bash Subject with Code :(16MC814)Course& Branch: MCA Year & Sem: II-MCA& I-Sem UNIT I Linux Utilities and Working with Bash 1. a) How does Linux differ from Unix? Discuss the features of Linux.6M b) Explain

More information

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 CSE 4/521 Introduction to Operating Systems Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 Overview Objective: To explore the principles upon which

More information

Mid Term from Feb-2005 to Nov 2012 CS604- Operating System

Mid Term from Feb-2005 to Nov 2012 CS604- Operating System Mid Term from Feb-2005 to Nov 2012 CS604- Operating System Latest Solved from Mid term Papers Resource Person Hina 1-The problem with priority scheduling algorithm is. Deadlock Starvation (Page# 84) Aging

More information

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix PGJC4_JSE8_OCA.book Page ix Monday, June 20, 2016 2:31 PM Contents Figures Tables Examples Foreword Preface xix xxi xxiii xxvii xxix 1 Basics of Java Programming 1 1.1 Introduction 2 1.2 Classes 2 Declaring

More information

Review of Fundamentals

Review of Fundamentals Review of Fundamentals 1 The shell vi General shell review 2 http://teaching.idallen.com/cst8207/14f/notes/120_shell_basics.html The shell is a program that is executed for us automatically when we log

More information

mywbut.com UNIX Operating System

mywbut.com UNIX Operating System UNIX Operating System 1 Lecture Notes Overview Unlike many operating systems, UNIX is not limited to specific computers using a particular microprocessor as a CPU. Instead, UNIX systems run on all sizes

More information

CSCE Introduction to Computer Systems Spring 2019

CSCE Introduction to Computer Systems Spring 2019 CSCE 313-200 Introduction to Computer Systems Spring 2019 Processes Dmitri Loguinov Texas A&M University January 24, 2019 1 Chapter 3: Roadmap 3.1 What is a process? 3.2 Process states 3.3 Process description

More information

Glossary. The target of keyboard input in a

Glossary. The target of keyboard input in a Glossary absolute search A search that begins at the root directory of the file system hierarchy and always descends the hierarchy. See also relative search. access modes A set of file permissions that

More information

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK Mastering Linux Paul S. Wang CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an Imprint of the Taylor & Francis Croup an informa business A CHAPMAN St HALL BOOK Contents Preface

More information

Bashed One Too Many Times. Features of the Bash Shell St. Louis Unix Users Group Jeff Muse, Jan 14, 2009

Bashed One Too Many Times. Features of the Bash Shell St. Louis Unix Users Group Jeff Muse, Jan 14, 2009 Bashed One Too Many Times Features of the Bash Shell St. Louis Unix Users Group Jeff Muse, Jan 14, 2009 What is a Shell? The shell interprets commands and executes them It provides you with an environment

More information

- c list The list specifies character positions.

- c list The list specifies character positions. CUT(1) BSD General Commands Manual CUT(1)... 1 PASTE(1) BSD General Commands Manual PASTE(1)... 3 UNIQ(1) BSD General Commands Manual UNIQ(1)... 5 HEAD(1) BSD General Commands Manual HEAD(1)... 7 TAIL(1)

More information

Computer Systems A Programmer s Perspective 1 (Beta Draft)

Computer Systems A Programmer s Perspective 1 (Beta Draft) Computer Systems A Programmer s Perspective 1 (Beta Draft) Randal E. Bryant David R. O Hallaron August 1, 2001 1 Copyright c 2001, R. E. Bryant, D. R. O Hallaron. All rights reserved. 2 Contents Preface

More information

Process Description and Control. Chapter 3

Process Description and Control. Chapter 3 Process Description and Control Chapter 3 Major Requirements of an Operating System Interleave the execution of many processes to maximize processor utilization while providing reasonable response time

More information

EDIABAS BEST/2 LANGUAGE DESCRIPTION. VERSION 6b. Electronic Diagnostic Basic System EDIABAS - BEST/2 LANGUAGE DESCRIPTION

EDIABAS BEST/2 LANGUAGE DESCRIPTION. VERSION 6b. Electronic Diagnostic Basic System EDIABAS - BEST/2 LANGUAGE DESCRIPTION EDIABAS Electronic Diagnostic Basic System BEST/2 LANGUAGE DESCRIPTION VERSION 6b Copyright BMW AG, created by Softing AG BEST2SPC.DOC CONTENTS CONTENTS...2 1. INTRODUCTION TO BEST/2...5 2. TEXT CONVENTIONS...6

More information

POSIX Threads: a first step toward parallel programming. George Bosilca

POSIX Threads: a first step toward parallel programming. George Bosilca POSIX Threads: a first step toward parallel programming George Bosilca bosilca@icl.utk.edu Process vs. Thread A process is a collection of virtual memory space, code, data, and system resources. A thread

More information

ISO/IEC JTC1/SC22/WG20 N

ISO/IEC JTC1/SC22/WG20 N Reference number of working document: ISO/IEC JTC1/SC22/WG20 N Date: 2001-12-25 Reference number of document: ISO/IEC DTR2 14652 Committee identification: ISO/IEC JTC1/SC22 Secretariat: ANSI Information

More information

Reference number of working document: Reference number of document: ISO/IEC FCD

Reference number of working document: Reference number of document: ISO/IEC FCD Reference number of working document: ISO/IEC JTC1/SC22/WG20 N634 Date: 1998-12-21 Reference number of document: ISO/IEC FCD2 14652 Committee identification: ISO/IEC JTC1/SC22 Secretariat: ANSI Information

More information

Design Overview of the FreeBSD Kernel CIS 657

Design Overview of the FreeBSD Kernel CIS 657 Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler (2%

More information

5/8/2012. Creating and Changing Directories Chapter 7

5/8/2012. Creating and Changing Directories Chapter 7 Creating and Changing Directories Chapter 7 Types of files File systems concepts Using directories to create order. Managing files in directories. Using pathnames to manage files in directories. Managing

More information

Installing and Administering a Satellite Environment

Installing and Administering a Satellite Environment IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00 IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00

More information

5/8/2012. Specifying Instructions to the Shell Chapter 8

5/8/2012. Specifying Instructions to the Shell Chapter 8 An overview of shell. Execution of commands in a shell. Shell command-line expansion. Customizing the functioning of the shell. Employing advanced user features. Specifying Instructions to the Shell Chapter

More information

Information technology. Specification method for cultural conventions ISO/IEC JTC1/SC22/WG20 N690. Reference number of working document:

Information technology. Specification method for cultural conventions ISO/IEC JTC1/SC22/WG20 N690. Reference number of working document: Reference number of working document: ISO/IEC JTC1/SC22/WG20 N690 Date: 1999-06-28 Reference number of document: ISO/IEC PDTR 14652 Committee identification: ISO/IEC JTC1/SC22 Secretariat: ANSI Information

More information

Process Concepts. CSC400 - Operating Systems. 3. Process Concepts. J. Sumey

Process Concepts. CSC400 - Operating Systems. 3. Process Concepts. J. Sumey CSC400 - Operating Systems 3. Process Concepts J. Sumey Overview Concurrency Processes & Process States Process Accounting Interrupts & Interrupt Processing Interprocess Communication CSC400 - Process

More information

Linux Operating System

Linux Operating System Linux Operating System Dept. of Computer Science & Engineering 1 History Linux is a modern, free operating system based on UNIX standards. First developed as a small but self-contained kernel in 1991 by

More information

UNIT III- INTER PROCESS COMMUNICATIONS Part A

UNIT III- INTER PROCESS COMMUNICATIONS Part A UNIT III- INTER PROCESS COMMUNICATIONS Part A 1 What are the different communications supported by UNIX? Inter process communication and network communication 2 What do you mean by Inter process communication?

More information

Object oriented programming. Instructor: Masoud Asghari Web page: Ch: 3

Object oriented programming. Instructor: Masoud Asghari Web page:   Ch: 3 Object oriented programming Instructor: Masoud Asghari Web page: http://www.masses.ir/lectures/oops2017sut Ch: 3 1 In this slide We follow: https://docs.oracle.com/javase/tutorial/index.html Trail: Learning

More information

* What are the different states for a task in an OS?

* What are the different states for a task in an OS? * Kernel, Services, Libraries, Application: define the 4 terms, and their roles. The kernel is a computer program that manages input/output requests from software, and translates them into data processing

More information

Linux System Administration

Linux System Administration System Processes Objective At the conclusion of this module, the student will be able to: Describe and define a process Identify a process ID, the parent process and the child process Learn the PID for

More information

Operating Systems. II. Processes

Operating Systems. II. Processes Operating Systems II. Processes Ludovic Apvrille ludovic.apvrille@telecom-paristech.fr Eurecom, office 470 http://soc.eurecom.fr/os/ @OS Eurecom Outline Concepts Definitions and basic concepts Process

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK UNIT 1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK UNIT 1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK SUBJECT: NETWORK PROGRAMMING/MC9241 YEAR/ SEM: II /I V 1 CCET UNIT 1 1. What are the steps involved in obtaining a shared

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : A70511 (R15) Class

More information

Contents. Error Message Descriptions... 7

Contents. Error Message Descriptions... 7 2 Contents Error Message Descriptions.................................. 7 3 4 About This Manual This Unify DataServer: Error Messages manual lists the errors that can be produced by the Unify DataServer

More information

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent?

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent? Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler

More information

M/s. Managing distributed workloads. Language Reference Manual. Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567)

M/s. Managing distributed workloads. Language Reference Manual. Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567) 1 M/s Managing distributed workloads Language Reference Manual Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567) Table of Contents 1. Introduction 2. Lexical elements 2.1 Comments 2.2

More information

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language 1 History C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC

More information

Dr. Rafiq Zakaria Campus. Maulana Azad College of Arts, Science & Commerce, Aurangabad. Department of Computer Science. Academic Year

Dr. Rafiq Zakaria Campus. Maulana Azad College of Arts, Science & Commerce, Aurangabad. Department of Computer Science. Academic Year Dr. Rafiq Zakaria Campus Maulana Azad College of Arts, Science & Commerce, Aurangabad Department of Computer Science Academic Year 2015-16 MCQs on Operating System Sem.-II 1.What is operating system? a)

More information

Quick Reference for shmdefine

Quick Reference for shmdefine Quick Reference for shmdefine 0898010-050 June 2008 Copyright 2008 by Concurrent Computer Corporation. All rights reserved. This publication or any part thereof is intended for use with Concurrent products

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : A70511 Class : IV B.

More information

Processes, PCB, Context Switch

Processes, PCB, Context Switch THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE 272 CAOS Operating Systems Part II Processes, PCB, Context Switch Instructor Dr. M. Sakalli enmsaka@eie.polyu.edu.hk

More information

Introduction to PTC Windchill MPMLink 11.0

Introduction to PTC Windchill MPMLink 11.0 Introduction to PTC Windchill MPMLink 11.0 Overview Course Code Course Length TRN-4754-T 16 Hours In this course, you will learn how to complete basic Windchill MPMLink functions. You will learn about

More information

VxWorks Application Programmer's Guide, 6.7. VxWorks APPLICATION PROGRAMMER'S GUIDE 6.7

VxWorks Application Programmer's Guide, 6.7. VxWorks APPLICATION PROGRAMMER'S GUIDE 6.7 VxWorks Application Programmer's Guide, 6.7 VxWorks APPLICATION PROGRAMMER'S GUIDE 6.7 Copyright 2008 Wind River Systems, Inc. All rights reserved. No part of this publication may be reproduced or transmitted

More information

CHAPTER 3 - PROCESS CONCEPT

CHAPTER 3 - PROCESS CONCEPT CHAPTER 3 - PROCESS CONCEPT 1 OBJECTIVES Introduce a process a program in execution basis of all computation Describe features of processes: scheduling, creation, termination, communication Explore interprocess

More information

CS 326: Operating Systems. Process Execution. Lecture 5

CS 326: Operating Systems. Process Execution. Lecture 5 CS 326: Operating Systems Process Execution Lecture 5 Today s Schedule Process Creation Threads Limited Direct Execution Basic Scheduling 2/5/18 CS 326: Operating Systems 2 Today s Schedule Process Creation

More information

Asynchronous Events on Linux

Asynchronous Events on Linux Asynchronous Events on Linux Frederic.Rossi@Ericsson.CA Open System Lab Systems Research June 25, 2002 Ericsson Research Canada Introduction Linux performs well as a general purpose OS but doesn t satisfy

More information

PROBLEM SOLVING WITH FORTRAN 90

PROBLEM SOLVING WITH FORTRAN 90 David R. Brooks PROBLEM SOLVING WITH FORTRAN 90 FOR SCIENTISTS AND ENGINEERS Springer Contents Preface v 1.1 Overview for Instructors v 1.1.1 The Case for Fortran 90 vi 1.1.2 Structure of the Text vii

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

CS604 Final term Paper Fall (2012)

CS604 Final term Paper Fall (2012) CS604- Operating Systems Solved Subjective From Final term Papers 10 July,2013 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS604 Final term Paper Fall (2012) 1. Write the names of common

More information

PROCESS CONCEPTS. Process Concept Relationship to a Program What is a Process? Process Lifecycle Process Management Inter-Process Communication 2.

PROCESS CONCEPTS. Process Concept Relationship to a Program What is a Process? Process Lifecycle Process Management Inter-Process Communication 2. [03] PROCESSES 1. 1 OUTLINE Process Concept Relationship to a Program What is a Process? Process Lifecycle Creation Termination Blocking Process Management Process Control Blocks Context Switching Threads

More information

Unix Processes. What is a Process?

Unix Processes. What is a Process? Unix Processes Process -- program in execution shell spawns a process for each command and terminates it when the command completes Many processes all multiplexed to a single processor (or a small number

More information

Chap 4, 5: Process. Dongkun Shin, SKKU

Chap 4, 5: Process. Dongkun Shin, SKKU Chap 4, 5: Process 1 Process Concept Job A bundle of program and data to be executed An entity before submission for execution Process (= running program) An entity that is registered to kernel for execution

More information

Midterm Exam CPS 210: Operating Systems Spring 2013

Midterm Exam CPS 210: Operating Systems Spring 2013 Your name: Sign for your honor: Midterm Exam CPS 210: Operating Systems Spring 2013 The last page of this exam is a list of terms used in this class, and whose meanings you should know. You may detach

More information

TECHNICAL ISO/IEC REPORT TR 14652

TECHNICAL ISO/IEC REPORT TR 14652 TECHNICAL ISO/IEC REPORT TR 14652 Final text 2002-08-12 Information technology Specification method for cultural conventions Technologies de l information Méthode de modélisation des conventions culturelles

More information

Process. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University

Process. Operating Systems (Fall/Winter 2018) Yajin Zhou (  Zhejiang University Operating Systems (Fall/Winter 2018) Process Yajin Zhou (http://yajin.org) Zhejiang University Acknowledgement: some pages are based on the slides from Zhi Wang(fsu). Review System calls implementation

More information

User Commands ls ( 1 )

User Commands ls ( 1 ) NAME ls list contents of directory SYNOPSIS /usr/bin/ls [-aabccdffghillmnopqrrstux1@] [file...] /usr/xpg4/bin/ls [-aabccdffghillmnopqrrstux1@] [file...] DESCRIPTION For each file that is a directory, ls

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Silberschatz, Galvin and Gagne 2013! Chapter 3: Process Concept Process Concept" Process Scheduling" Operations on Processes" Inter-Process Communication (IPC)" Communication

More information

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1 Review of Fundamentals Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 GPL the shell SSH (secure shell) the Course Linux Server RTFM vi general shell review 2 These notes are available on

More information

PROCESS CONTROL BLOCK TWO-STATE MODEL (CONT D)

PROCESS CONTROL BLOCK TWO-STATE MODEL (CONT D) MANAGEMENT OF APPLICATION EXECUTION PROCESS CONTROL BLOCK Resources (processor, I/O devices, etc.) are made available to multiple applications The processor in particular is switched among multiple applications

More information

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted

More information

Files and the Filesystems. Linux Files

Files and the Filesystems. Linux Files Files and the Filesystems Linux Files The file is the most basic and fundamental abstraction in Linux. Linux follows the everything-is-a-file philosophy. Consequently, much interaction occurs via reading

More information

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1 Windows 7 Overview Windows 7 Overview By Al Lake History Design Principles System Components Environmental Subsystems File system Networking Programmer Interface Lake 2 Objectives To explore the principles

More information

Process. Program Vs. process. During execution, the process may be in one of the following states

Process. Program Vs. process. During execution, the process may be in one of the following states What is a process? What is process scheduling? What are the common operations on processes? How to conduct process-level communication? How to conduct client-server communication? Process is a program

More information

The Kernel Abstraction. Chapter 2 OSPP Part I

The Kernel Abstraction. Chapter 2 OSPP Part I The Kernel Abstraction Chapter 2 OSPP Part I Kernel The software component that controls the hardware directly, and implements the core privileged OS functions. Modern hardware has features that allow

More information

BASH SHELL SCRIPT 1- Introduction to Shell

BASH SHELL SCRIPT 1- Introduction to Shell BASH SHELL SCRIPT 1- Introduction to Shell What is shell Installation of shell Shell features Bash Keywords Built-in Commands Linux Commands Specialized Navigation and History Commands Shell Aliases Bash

More information

IPCoreL. Phillip Duane Douglas, Jr. 11/3/2010

IPCoreL. Phillip Duane Douglas, Jr. 11/3/2010 IPCoreL Programming Language Reference Manual Phillip Duane Douglas, Jr. 11/3/2010 The IPCoreL Programming Language Reference Manual provides concise information about the grammar, syntax, semantics, and

More information

SMP T-Kernel Standard Extension Specification

SMP T-Kernel Standard Extension Specification SMP T-Kernel Standard Extension Specification Ver. 1.00.00 TEF021-S004-01.00.00/en March 2009 SMP T-Kernel Standard Extension Specification (Ver.1.00.00) TEF021-S004-01.00.00/en March 2009 Copyright 2006-2009

More information

ADVANCED OPERATING SYSTEMS

ADVANCED OPERATING SYSTEMS ADVANCED OPERATING SYSTEMS UNIT I INTRODUCTION TO UNIX/LINUX KERNEL BY MR.PRASAD SAWANT Prof.Prasad Sawant,Assitiant Professor,Dept. Of CS PCCCS PREREQUISITES: 1. Working knowledge of C programming. 2.

More information

Appendix A: FreeBSD. Operating System Concepts 9 th Edition

Appendix A: FreeBSD. Operating System Concepts 9 th Edition Appendix A: FreeBSD Operating System Concepts 9 th Edition Silberschatz, Galvin and Gagne 2013 Module A: The FreeBSD System UNIX History Design Principles Programmer Interface User Interface Process Management

More information

Computers Programming Course 5. Iulian Năstac

Computers Programming Course 5. Iulian Năstac Computers Programming Course 5 Iulian Năstac Recap from previous course Classification of the programming languages High level (Ada, Pascal, Fortran, etc.) programming languages with strong abstraction

More information

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne Chapter 4: Threads Silberschatz, Galvin and Gagne Chapter 4: Threads Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Linux Threads 4.2 Silberschatz, Galvin and

More information

Process Description and Control. Chapter 3

Process Description and Control. Chapter 3 Process Description and Control Chapter 3 Contents Process states Process description Process control Unix process management Process From processor s point of view execute instruction dictated by program

More information

PROCESSES. Jo, Heeseung

PROCESSES. Jo, Heeseung PROCESSES Jo, Heeseung TODAY'S TOPICS What is the process? How to implement processes? Inter-Process Communication (IPC) 2 WHAT IS THE PROCESS? Program? vs. Process? vs. Processor? 3 PROCESS CONCEPT (1)

More information

Processes. Jo, Heeseung

Processes. Jo, Heeseung Processes Jo, Heeseung Today's Topics What is the process? How to implement processes? Inter-Process Communication (IPC) 2 What Is The Process? Program? vs. Process? vs. Processor? 3 Process Concept (1)

More information

CPSC/ECE 3220 Fall 2017 Exam Give the definition (note: not the roles) for an operating system as stated in the textbook. (2 pts.

CPSC/ECE 3220 Fall 2017 Exam Give the definition (note: not the roles) for an operating system as stated in the textbook. (2 pts. CPSC/ECE 3220 Fall 2017 Exam 1 Name: 1. Give the definition (note: not the roles) for an operating system as stated in the textbook. (2 pts.) Referee / Illusionist / Glue. Circle only one of R, I, or G.

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Ausgewählte Betriebssysteme - Mark Russinovich & David Solomon (used with permission of authors)

Ausgewählte Betriebssysteme - Mark Russinovich & David Solomon (used with permission of authors) Outline Windows 2000 - The I/O Structure Ausgewählte Betriebssysteme Institut Betriebssysteme Fakultät Informatik Components of I/O System Plug n Play Management Power Management I/O Data Structures File

More information

Java Overview An introduction to the Java Programming Language

Java Overview An introduction to the Java Programming Language Java Overview An introduction to the Java Programming Language Produced by: Eamonn de Leastar (edeleastar@wit.ie) Dr. Siobhan Drohan (sdrohan@wit.ie) Department of Computing and Mathematics http://www.wit.ie/

More information

Distributed Scheduling for the Sombrero Single Address Space Distributed Operating System

Distributed Scheduling for the Sombrero Single Address Space Distributed Operating System Distributed Scheduling for the Sombrero Single Address Space Distributed Operating System Donald S. Miller Department of Computer Science and Engineering Arizona State University Tempe, AZ, USA Alan C.

More information

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017 ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)

More information

Concurrency: Deadlock and Starvation. Chapter 6

Concurrency: Deadlock and Starvation. Chapter 6 Concurrency: Deadlock and Starvation Chapter 6 Deadlock Permanent blocking of a set of processes that either compete for system resources or communicate with each other Involve conflicting needs for resources

More information