Hello I am working on a C program. I need to write a parent program to fork(2) n processes where n is passed to the program on the command line, and

Size: px
Start display at page:

Download "Hello I am working on a C program. I need to write a parent program to fork(2) n processes where n is passed to the program on the command line, and"

Transcription

1 Hello I am working on a C program. I need to write a parent program to fork(2) n processes where n is passed to the program on the command line, and n can be from 1 to 10. All output should be made with fprintf to the stdout or stderr (followed immediately by an fflush). This program is extensive and i need help writing this!!! Please help me via the directions above and below!! In addition i need to: 1. Flag ALL errors, including those returned from any functions with output to the stderr, a call to perror (if applicable), and then exit with the exit(3) function. 2. in the forked program (recall fork(2) returns 0 to the child process), get the process ID, and current time; using the current time generate a random wait time between 1 and 10 (seconds). Instead of srand(3) and rand(3), use srandom(3) and random(3) to generate these random numbers, using a seed equal to the current time (type time_t) * the process ID (type pid_t). This guarantees that the seed is different in every child. The child then sleeps for the random number of seconds (see sleep(3)), and returns using the exit(3) call with the exit status equal to the number of seconds slept. 3. In the parent (recall fork(2) returns to the parent the process id of the child) save the process IDs in the order returned in an array of process IDs. The parent then loops through the process ID array and waits for each process ID to exit (using waitpid(2)) in the order in which they were started. 4. To get and display the current time use time(3) with a NULL parameter, and then call ctime(3) with the value returned by the time(3) call. 5. Use the WIFEXITED and WEXITSTATUS macros on the status returned by waitpid(2) to determine the return status of children with normal returns (see the text section 8.6). Do NOT use the WNOHANG option with the waitpid call. 6. Both the parent and child processes will output information to the stdout and stderr. I appreciate any help you can give me!!!!!

Program 5 - Processes and Signals (100 points)

Program 5 - Processes and Signals (100 points) Program 5 - Processes and Signals (100 points) COMPSCI 253: Intro to Systems Programming 1 Objectives Using system calls to create and manage processes under Linux and Microsoft Windows Using Visual Studio

More information

Lecture 25 Systems Programming Process Control

Lecture 25 Systems Programming Process Control Lecture 25 Systems Programming Process Control A process is defined as an instance of a program that is currently running. A uni processor system or single core system can still execute multiple processes

More information

CSI 402 Lecture 13 (Unix Process Related System Calls) 13 1 / 17

CSI 402 Lecture 13 (Unix Process Related System Calls) 13 1 / 17 CSI 402 Lecture 13 (Unix Process Related System Calls) 13 1 / 17 System Calls for Processes Ref: Process: Chapter 5 of [HGS]. A program in execution. Several processes are executed concurrently by the

More information

Computer Systems II. Unix system calls. fork( ) wait( ) exit( ) How To Create New Processes? Creating and Executing Processes

Computer Systems II. Unix system calls. fork( ) wait( ) exit( ) How To Create New Processes? Creating and Executing Processes Computer Systems II Creating and Executing Processes 1 Unix system calls fork( ) wait( ) exit( ) 2 How To Create New Processes? Underlying mechanism - A process runs fork to create a child process - Parent

More information

ARUNNING INSTANCE OF A PROGRAM IS CALLED A PROCESS. If you have two

ARUNNING INSTANCE OF A PROGRAM IS CALLED A PROCESS. If you have two 3 Processes ARUNNING INSTANCE OF A PROGRAM IS CALLED A PROCESS. If you have two terminal windows showing on your screen, then you are probably running the same terminal program twice you have two terminal

More information

Outline. Review. Inter process communication Signals Fork Pipes FIFO. Spotlights

Outline. Review. Inter process communication Signals Fork Pipes FIFO. Spotlights Outline Review Inter process communication Signals Fork Pipes FIFO Spotlights 1 6.087 Lecture 14 January 29, 2010 Review Inter process communication Signals Fork Pipes FIFO Spotlights 2 Review: multithreading

More information

Lecture 16: System-Level I/O

Lecture 16: System-Level I/O CSCI-UA.0201-003 Computer Systems Organization Lecture 16: System-Level I/O Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com Some slides adapted (and slightly modified) from: Clark Barrett

More information

1 Posix API vs Windows API

1 Posix API vs Windows API 1 Posix API vs Windows API 1.1 File I/O Using the Posix API, to open a file, you use open(filename, flags, more optional flags). If the O CREAT flag is passed, the file will be created if it doesnt exist.

More information

System Calls and Standard I/O

System Calls and Standard I/O System Calls and Standard I/O Professor Jennifer Rexford http://www.cs.princeton.edu/~jrex 1 Goals of Today s Class System calls o How a user process contacts the Operating System o For advanced services

More information

Illustration 1: Diagram of program function and data flow

Illustration 1: Diagram of program function and data flow The contract called for creation of a random access database of plumbing shops within the near perimeter of FIU Engineering school. The database features a rating number from 1-10 to offer a guideline

More information

As previously noted, a byte can contain a numeric value in the range 0-255. Computers don't understand Latin, Cyrillic, Hindi, Arabic character sets!

As previously noted, a byte can contain a numeric value in the range 0-255. Computers don't understand Latin, Cyrillic, Hindi, Arabic character sets! Encoding of alphanumeric and special characters As previously noted, a byte can contain a numeric value in the range 0-255. Computers don't understand Latin, Cyrillic, Hindi, Arabic character sets! Alphanumeric

More information

Ra - Batch Scripts. Timothy H. Kaiser, Ph.D. tkaiser@mines.edu

Ra - Batch Scripts. Timothy H. Kaiser, Ph.D. tkaiser@mines.edu Ra - Batch Scripts Timothy H. Kaiser, Ph.D. tkaiser@mines.edu Jobs on Ra are Run via a Batch System Ra is a shared resource Purpose: Give fair access to all users Have control over where jobs are run Set

More information

The While Loop. Objectives. Textbook. WHILE Loops

The While Loop. Objectives. Textbook. WHILE Loops Objectives The While Loop 1E3 Topic 6 To recognise when a WHILE loop is needed. To be able to predict what a given WHILE loop will do. To be able to write a correct WHILE loop. To be able to use a WHILE

More information

How to Handle a Few Hundred Million Extra Firewall Log Lines Per Day. Thanks to the Latest Virus or Worm. Jon Meek. Wyeth - Princeton, NJ

How to Handle a Few Hundred Million Extra Firewall Log Lines Per Day. Thanks to the Latest Virus or Worm. Jon Meek. Wyeth - Princeton, NJ How to Handle a Few Hundred Million Extra Firewall Log Lines Per Day Thanks to the Latest Virus or Worm Jon Meek Wyeth - Princeton, NJ meekj 0x40 wyeth.com meekj 0x40 ieee.org 1 High Volume Syslog Traffic

More information

Lecture 17. Process Management. Process Management. Process Management. Inter-Process Communication. Inter-Process Communication

Lecture 17. Process Management. Process Management. Process Management. Inter-Process Communication. Inter-Process Communication Process Management Lecture 17 Review February 25, 2005 Program? Process? Thread? Disadvantages, advantages of threads? How do you identify processes? How do you fork a child process, the child process

More information

File Handling. What is a file?

File Handling. What is a file? File Handling 1 What is a file? A named collection of data, stored in secondary storage (typically). Typical operations on files: Open Read Write Close How is a file stored? Stored as sequence of bytes,

More information

How To Understand How A Process Works In Unix (Shell) (Shell Shell) (Program) (Unix) (For A Non-Program) And (Shell).Orgode) (Powerpoint) (Permanent) (Processes

How To Understand How A Process Works In Unix (Shell) (Shell Shell) (Program) (Unix) (For A Non-Program) And (Shell).Orgode) (Powerpoint) (Permanent) (Processes Content Introduction and History File I/O The File System Shell Programming Standard Unix Files and Configuration Processes Programs are instruction sets stored on a permanent medium (e.g. harddisc). Processes

More information

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008 Using SAS to Control and Automate a Multi SAS Program Process Patrick Halpin November 2008 What are we covering today A little background on me Some quick questions How to use Done files Use a simple example

More information

Linux Syslog Messages in IBM Director

Linux Syslog Messages in IBM Director Ever want those pesky little Linux syslog messages (/var/log/messages) to forward to IBM Director? Well, it s not built in, but it s pretty easy to setup. You can forward syslog messages from an IBM Director

More information

Lab 2 : Basic File Server. Introduction

Lab 2 : Basic File Server. Introduction Lab 2 : Basic File Server Introduction In this lab, you will start your file system implementation by getting the following FUSE operations to work: CREATE/MKNOD, LOOKUP, and READDIR SETATTR, WRITE and

More information

grep, awk and sed three VERY useful command-line utilities Matt Probert, Uni of York grep = global regular expression print

grep, awk and sed three VERY useful command-line utilities Matt Probert, Uni of York grep = global regular expression print grep, awk and sed three VERY useful command-line utilities Matt Probert, Uni of York grep = global regular expression print In the simplest terms, grep (global regular expression print) will search input

More information

IPC. Semaphores were chosen for synchronisation (out of several options).

IPC. Semaphores were chosen for synchronisation (out of several options). IPC Two processes will use shared memory to communicate and some mechanism for synchronise their actions. This is necessary because shared memory does not come with any synchronisation tools: if you can

More information

Setting Up Database Security with Access 97

Setting Up Database Security with Access 97 Setting Up Database Security with Access 97 The most flexible and extensive method of securing a database is called user-level security. This form of security is similar to methods used in most network

More information

Networks. Inter-process Communication. Pipes. Inter-process Communication

Networks. Inter-process Communication. Pipes. Inter-process Communication Networks Mechanism by which two processes exchange information and coordinate activities Inter-process Communication process CS 217 process Network 1 2 Inter-process Communication Sockets o Processes can

More information

Submitting batch jobs Slurm on ecgate. Xavi Abellan xavier.abellan@ecmwf.int User Support Section

Submitting batch jobs Slurm on ecgate. Xavi Abellan xavier.abellan@ecmwf.int User Support Section Submitting batch jobs Slurm on ecgate Xavi Abellan xavier.abellan@ecmwf.int User Support Section Slide 1 Outline Interactive mode versus Batch mode Overview of the Slurm batch system on ecgate Batch basic

More information

Drupal Survey. Software Requirements Specification 1.0 29/10/2009. Chris Pryor Principal Project Manager

Drupal Survey. Software Requirements Specification 1.0 29/10/2009. Chris Pryor Principal Project Manager Software Requirements Specification 1.0 29/10/2009 Chris Pryor Principal Project Manager Software Requirements Specification Survey Module Revision History Date Description Author Comments 5/11/2009 Version

More information

CS355 Hw 3. Extended Shell with Job Control

CS355 Hw 3. Extended Shell with Job Control CS355 Hw 3 Due by the end of day Tuesday, Mar 18. Design document due on Thursday, Feb 27 in class. Written supplementary problems due on Thursday, March 6. Programming Assignment: You should team up with

More information

Time Limit: X Flags: -std=gnu99 -w -O2 -fomitframe-pointer. Time Limit: X. Flags: -std=c++0x -w -O2 -fomit-frame-pointer - lm

Time Limit: X Flags: -std=gnu99 -w -O2 -fomitframe-pointer. Time Limit: X. Flags: -std=c++0x -w -O2 -fomit-frame-pointer - lm Judge Environment Language Compilers Language Version Flags/Notes Max Memory Limit C gcc 4.8.1 Flags: -std=gnu99 -w -O2 -fomit-frame-pointer - lm C++ g++ 4.8.1 Flags: -std=c++0x -w -O2 -fomit-frame-pointer

More information

HP-UX Essentials and Shell Programming Course Summary

HP-UX Essentials and Shell Programming Course Summary Contact Us: (616) 875-4060 HP-UX Essentials and Shell Programming Course Summary Length: 5 Days Prerequisite: Basic computer skills Recommendation Statement: Student should be able to use a computer monitor,

More information

FAQs. XAP Frequently Asked Questions. Software/Configuration

FAQs. XAP Frequently Asked Questions. Software/Configuration XAP Frequently Asked Questions ~ Software/Configuration ~ Echo Cancellation ~ Audio Performance ~ Expansion Bus ~ Firmware ~ Installation ~ Presets ~ Telephone Hybrid Software/Configuration What is the

More information

2016/07/12 05:51 1/6 Disk Encryption

2016/07/12 05:51 1/6 Disk Encryption 2016/07/12 05:51 1/6 Disk Encryption Disk Encryption This feature is available but is absolutely unsupported. If you choose to use it, you cannot expect support and WILL NOT get support in trying to recover

More information

Network Detective Client Connector

Network Detective Client Connector Network Detective Copyright 2014 RapidFire Tools, Inc. All Rights Reserved. v20140801 Overview The Network Detective data collectors can be run via command line so that you can run the scans on a scheduled

More information

MAX = 5 Current = 0 'This will declare an array with 5 elements. Inserting a Value onto the Stack (Push) -----------------------------------------

MAX = 5 Current = 0 'This will declare an array with 5 elements. Inserting a Value onto the Stack (Push) ----------------------------------------- =============================================================================================================================== DATA STRUCTURE PSEUDO-CODE EXAMPLES (c) Mubashir N. Mir - www.mubashirnabi.com

More information

Process definition Concurrency Process status Process attributes PROCESES 1.3

Process definition Concurrency Process status Process attributes PROCESES 1.3 Process Management Outline Main concepts Basic services for process management (Linux based) Inter process communications: Linux Signals and synchronization Internal process management Basic data structures:

More information

NetBeans Profiler is an

NetBeans Profiler is an NetBeans Profiler Exploring the NetBeans Profiler From Installation to a Practical Profiling Example* Gregg Sporar* NetBeans Profiler is an optional feature of the NetBeans IDE. It is a powerful tool that

More information

Instant Interactive SAS Log Window Analyzer

Instant Interactive SAS Log Window Analyzer ABSTRACT Paper 10240-2016 Instant Interactive SAS Log Window Analyzer Palanisamy Mohan, ICON Clinical Research India Pvt Ltd Amarnath Vijayarangan, Emmes Services Pvt Ltd, India An interactive SAS environment

More information

3 - Lift with Monitors

3 - Lift with Monitors 3 - Lift with Monitors TSEA81 - Computer Engineering and Real-time Systems This document is released - 2015-11-24 version 1.4 Author - Ola Dahl, Andreas Ehliar Assignment - 3 - Lift with Monitors Introduction

More information

Shared Memory Segments and POSIX Semaphores 1

Shared Memory Segments and POSIX Semaphores 1 Shared Memory Segments and POSIX Semaphores 1 Alex Delis delis -at+ pitt.edu October 2012 1 Acknowledgements to Prof. T. Stamatopoulos, M. Avidor, Prof. A. Deligiannakis, S. Evangelatos, Dr. V. Kanitkar

More information

The Application Level Placement Scheduler

The Application Level Placement Scheduler The Application Level Placement Scheduler Michael Karo 1, Richard Lagerstrom 1, Marlys Kohnke 1, Carl Albing 1 Cray User Group May 8, 2006 Abstract Cray platforms present unique resource and workload management

More information

Membership Card Maintenance (Club Spa Maintenance)

Membership Card Maintenance (Club Spa Maintenance) Membership Card Maintenance (Club Spa Maintenance) Membership Cards require information to be held in the Club Spa System Options screen. The fields required are Image Folder and Layout Folder. Image Folder

More information

AFID: AN AUTOMATED FAULT IDENTIFICATION TOOL. Edwards, A; Tucker, S; Worms, S; Vaidya, R; Demsky, B

AFID: AN AUTOMATED FAULT IDENTIFICATION TOOL. Edwards, A; Tucker, S; Worms, S; Vaidya, R; Demsky, B AFID: AN AUTOMATED FAULT IDENTIFICATION TOOL Edwards, A; Tucker, S; Worms, S; Vaidya, R; Demsky, B Introduction: Current Fault Detection Traditional approach to evaluate tools Hand-selected & seeded faults

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

Jorix kernel: real-time scheduling

Jorix kernel: real-time scheduling Jorix kernel: real-time scheduling Joris Huizer Kwie Min Wong May 16, 2007 1 Introduction As a specialized part of the kernel, we implemented two real-time scheduling algorithms: RM (rate monotonic) and

More information

Switching between DHCP and Static IP address Acquisition in NET+OS

Switching between DHCP and Static IP address Acquisition in NET+OS Switching between DHCP and Static IP address Acquisition in NET+OS 1 Document History Date Version Change Description 2/20/2014 V1 Initial Entry 2/26/2014 V1.1 Continued entry 2/27/2014 V1.2 Continued

More information

Top 72 Perl Interview Questions and Answers

Top 72 Perl Interview Questions and Answers Top 72 Perl Interview Questions and Answers 1. Difference between the variables in which chomp function work? Scalar: It is denoted by $ symbol. Variable can be a number or a string. Array: Denoted by

More information

Computer Lab Software Fault-tolerance: Task Process Pairs

Computer Lab Software Fault-tolerance: Task Process Pairs Computer Lab Software Fault-tolerance: Task Process Pairs Systems Engineering Group Dresden University of Technology http://wwwse.inf.tu-dresden.de/ January 25, 2013 1 / 16 One task less! Too many tasks

More information

Writing Control Structures

Writing Control Structures Writing Control Structures Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 5-1 Objectives After completing this lesson, you should be able to do the following: Identify

More information

QUIZ-II QUIZ-II. Chapter 5: Control Structures II (Repetition) Objectives. Objectives (cont d.) 20/11/2015. EEE 117 Computer Programming Fall-2015 1

QUIZ-II QUIZ-II. Chapter 5: Control Structures II (Repetition) Objectives. Objectives (cont d.) 20/11/2015. EEE 117 Computer Programming Fall-2015 1 QUIZ-II Write a program that mimics a calculator. The program should take as input two integers and the operation to be performed. It should then output the numbers, the operator, and the result. (For

More information

System Calls Related to File Manipulation

System Calls Related to File Manipulation KING FAHD UNIVERSITY OF PETROLEUM AND MINERALS Information and Computer Science Department ICS 431 Operating Systems Lab # 12 System Calls Related to File Manipulation Objective: In this lab we will be

More information

Hodor and Bran - Job Scheduling and PBS Scripts

Hodor and Bran - Job Scheduling and PBS Scripts Hodor and Bran - Job Scheduling and PBS Scripts UND Computational Research Center Now that you have your program compiled and your input file ready for processing, it s time to run your job on the cluster.

More information

Rocoto. HWRF Python Scripts Training Miami, FL November 19, 2015

Rocoto. HWRF Python Scripts Training Miami, FL November 19, 2015 Rocoto HWRF Python Scripts Training Miami, FL November 19, 2015 Outline Introduction to Rocoto How it works Overview and description of XML Effectively using Rocoto (run, boot, stat, check, rewind, logs)

More information

Giving credit where credit is due

Giving credit where credit is due JDEP 284H Foundations of Computer Systems System-Level I/O Dr. Steve Goddard goddard@cse.unl.edu Giving credit where credit is due Most of slides for this lecture are based on slides created by Drs. Bryant

More information

Virtuozzo Virtualization SDK

Virtuozzo Virtualization SDK Virtuozzo Virtualization SDK Programmer's Guide February 18, 2016 Copyright 1999-2016 Parallels IP Holdings GmbH and its affiliates. All rights reserved. Parallels IP Holdings GmbH Vordergasse 59 8200

More information

CHAPTER 7. E-Mailing with CGI

CHAPTER 7. E-Mailing with CGI CHAPTER 7 E-Mailing with CGI OVERVIEW One of the most important tasks of any CGI program is ultimately to let someone know that something has happened. The most convenient way for users is to have this

More information

Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs

Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Paper 126-27 Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Tugluke Abdurazak Abt Associates Inc. 1110 Vermont Avenue N.W. Suite 610 Washington D.C. 20005-3522

More information

This presentation explains how to monitor memory consumption of DataStage processes during run time.

This presentation explains how to monitor memory consumption of DataStage processes during run time. This presentation explains how to monitor memory consumption of DataStage processes during run time. Page 1 of 9 The objectives of this presentation are to explain why and when it is useful to monitor

More information

% & ' # ('$ %$)$ &*&& ) & *)+,-%. / 0--"1####$ % % # 2 (3 &,--%. # 6/4-7/*8,#071*!",7*%,+07+5 "!96+*%,+07+5 "!96+& (& * *% & & ; %&< & ###

% & ' # ('$ %$)$ &*&& ) & *)+,-%. / 0--1####$ % % # 2 (3 &,--%. # 6/4-7/*8,#071*!,7*%,+07+5 !96+*%,+07+5 !96+& (& * *% & & ; %&< & ### !"$% && % & ' ('$ %$)$ &*&& ) & *)+,-%. / 0--"1$ % % 2 (3 &,--%. 45-4 & 6/4-7/*8/71*!"5+,"*%,+07+5 "!96+ 6/4-7/*8,071*!",7*%,+07+5 "!96+*%,+07+5 "!96+& 6/4-7/*8,071*!",7*%,+07+5 "!96+*%,+07+5 "!96+& :,

More information

The RWTH Compute Cluster Environment

The RWTH Compute Cluster Environment The RWTH Compute Cluster Environment Tim Cramer 11.03.2013 Source: D. Both, Bull GmbH Rechen- und Kommunikationszentrum (RZ) How to login Frontends cluster.rz.rwth-aachen.de cluster-x.rz.rwth-aachen.de

More information

NTTCT Mail Hosting Service Account Management

NTTCT Mail Hosting Service Account Management NTTCT Mail Hosting Service Account Management (Mail Hosting: NTT Communications (Thailand) Co., Ltd.) About This Document This document is intended to be a quick reference guide to follow for administrator

More information

Unity Express Voice Mail Transfer Behavior

Unity Express Voice Mail Transfer Behavior Unity Express Voice Mail Transfer Behavior Document ID: 97825 Contents Introduction Prerequisites Requirements Components Used Conventions Problem 1 Calls Transfer to Reception Solution 1 Transfer to AutoAttendant

More information

Gentran Integration Suite. Archiving and Purging. Version 4.2

Gentran Integration Suite. Archiving and Purging. Version 4.2 Gentran Integration Suite Archiving and Purging Version 4.2 Copyright 2007 Sterling Commerce, Inc. All rights reserved. Additional copyright information is located on the Gentran Integration Suite Documentation

More information

Configuring CSS Remote Access Methods

Configuring CSS Remote Access Methods CHAPTER 11 Configuring CSS Remote Access Methods This chapter describes how to configure the Secure Shell Daemon (SSH), Remote Authentication Dial-In User Service (RADIUS), and the Terminal Access Controller

More information

After: bmotorreflected[port2]= 1; //Flip port2 s direction

After: bmotorreflected[port2]= 1; //Flip port2 s direction Motors Motor control and some fine-tuning commands. motor[output] = power; This turns the referenced VEX motor output either on or off and simultaneously sets its power level. The VEX has 8 motor outputs:

More information

ESPResSo Summer School 2012

ESPResSo Summer School 2012 ESPResSo Summer School 2012 Introduction to Tcl Pedro A. Sánchez Institute for Computational Physics Allmandring 3 D-70569 Stuttgart Germany http://www.icp.uni-stuttgart.de 2/26 Outline History, Characteristics,

More information

Simple C Programs. Goals for this Lecture. Help you learn about:

Simple C Programs. Goals for this Lecture. Help you learn about: Simple C Programs 1 Goals for this Lecture Help you learn about: Simple C programs Program structure Defining symbolic constants Detecting and reporting failure Functionality of the gcc command Preprocessor,

More information

CA Workload Automation EE r11.3 Report Server. Fred Brisard

CA Workload Automation EE r11.3 Report Server. Fred Brisard CA Workload Automation EE r11.3 Report Server Fred Brisard Terms of This Presentation This presentation was based on current information and resource allocations as of October 2009 and is subject to change

More information

UNIX, Shell Scripting and Perl Introduction

UNIX, Shell Scripting and Perl Introduction UNIX, Shell Scripting and Perl Introduction Bart Zeydel 2003 Some useful commands grep searches files for a string. Useful for looking for errors in CAD tool output files. Usage: grep error * (looks for

More information

The Linux Kernel: Process Management. CS591 (Spring 2001)

The Linux Kernel: Process Management. CS591 (Spring 2001) The Linux Kernel: Process Management Process Descriptors The kernel maintains info about each process in a process descriptor, of type task_struct. See include/linux/sched.h Each process descriptor contains

More information

Interlude: Process API

Interlude: Process API 5 Interlude: Process API ASIDE: INTERLUDES Interludes will cover more practical aspects of systems, including a particular focus on operating system APIs and how to use them. If you don t like practical

More information

How ToWrite a UNIX Daemon

How ToWrite a UNIX Daemon How ToWrite a UNIX Daemon Dave Lennert Hewlett-Packard Company ABSTRACT On UNIX systems users can easily write daemon programs that perform repetitive tasks in an unnoticed way. However, because daemon

More information

Job Scheduler Daemon Configuration Guide

Job Scheduler Daemon Configuration Guide Job Scheduler Daemon Configuration Guide A component of Mark Dickinsons Unix Job Scheduler This manual covers the server daemon component of Mark Dickinsons unix Job Scheduler. This manual is for version

More information

Keil Debugger Tutorial

Keil Debugger Tutorial Keil Debugger Tutorial Yifeng Zhu December 17, 2014 Software vs Hardware Debug There are two methods to debug your program: software debug and hardware debug. By using the software debug, you do not have

More information

Euler s Method and Functions

Euler s Method and Functions Chapter 3 Euler s Method and Functions The simplest method for approximately solving a differential equation is Euler s method. One starts with a particular initial value problem of the form dx dt = f(t,

More information

Elo Interactive Digital Signage (IDS): Remote Management

Elo Interactive Digital Signage (IDS): Remote Management APPLICATION NOTES Elo Interactive Digital Signage (IDS): Remote Management Large signage installations require a way to manage the devices from a central location. Elo IDS displays are designed with this

More information

Final Examination Semester 2 / Year 2011

Final Examination Semester 2 / Year 2011 Southern College Kolej Selatan 南 方 学 院 Final Examination Semester 2 / Year 2011 COURSE : VISUAL BASIC.NET COURSE CODE : PROG2024 TIME : 2 1/2 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : DR. LEE ZHI

More information

Batch Scripts for RA & Mio

Batch Scripts for RA & Mio Batch Scripts for RA & Mio Timothy H. Kaiser, Ph.D. tkaiser@mines.edu 1 Jobs are Run via a Batch System Ra and Mio are shared resources Purpose: Give fair access to all users Have control over where jobs

More information

Advanced Functions and Modules

Advanced Functions and Modules Advanced Functions and Modules CB2-101 Introduction to Scientific Computing November 19, 2015 Emidio Capriotti http://biofold.org/ Institute for Mathematical Modeling of Biological Systems Department of

More information

The Domain-Analysis Based Instruction System

The Domain-Analysis Based Instruction System Pre-publication draft of a paper which appeared in the Proceedings of the Fourth Annual Computer-Assisted Learning in Tertiary Education Conference (CALITE'86) University of Adelaide, pages 295-302 The

More information

Operating Systems and Networks

Operating Systems and Networks recap Operating Systems and Networks How OS manages multiple tasks Virtual memory Brief Linux demo Lecture 04: Introduction to OS-part 3 Behzad Bordbar 47 48 Contents Dual mode API to wrap system calls

More information

OpenMCU User Manual 1/17

OpenMCU User Manual 1/17 OpenMCU User Manual OpenMCU User Manual 1/17 INDEX p. 1. INTRODUCTION...1 2. FEATURES...1 3. OPERATION...1 4. COMMAND LINE OPTIONS...1 5. MANAGEMENT INTERFACE...2 5.1. General...2 5.2. Parameters...2 5.3.

More information

1. Computer System Structure and Components

1. Computer System Structure and Components 1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices

More information

Lecture 24 Systems Programming in C

Lecture 24 Systems Programming in C Lecture 24 Systems Programming in C A process is a currently executing instance of a program. All programs by default execute in the user mode. A C program can invoke UNIX system calls directly. A system

More information

IP Link Device Interface Ethernet Communication Sheet

IP Link Device Interface Ethernet Communication Sheet This document provides additional assistance with wiring your Extron IP Link enabled product to your device. Different components may require a different wiring scheme than those listed below. For complete

More information

Version 6.5 Release Notes. Aria Subscription Billing Platform 6.5 Release Notes

Version 6.5 Release Notes. Aria Subscription Billing Platform 6.5 Release Notes Aria Subscription Billing Platform 6.5 Release Notes Version 6.2 Release Notes COPYRIGHT 2013 ARIA SYSTEMS, INC ALL RIGHTS RESERVED Aria Systems, the Aria logo, LiveRelease, DSM, and SmartRec are trademarks

More information

Green Telnet. Making the Client/Server Model Green

Green Telnet. Making the Client/Server Model Green Green Telnet Reducing energy consumption is of growing importance. Jeremy and Ken create a "green telnet" that lets clients transition to a low-power, sleep state. By Jeremy Blackburn and Ken Christensen,

More information

Grid Engine 6. Troubleshooting. BioTeam Inc. info@bioteam.net

Grid Engine 6. Troubleshooting. BioTeam Inc. info@bioteam.net Grid Engine 6 Troubleshooting BioTeam Inc. info@bioteam.net Grid Engine Troubleshooting There are two core problem types Job Level Cluster seems OK, example scripts work fine Some user jobs/apps fail Cluster

More information

Enterprise Edge Call Center Agent User Guide

Enterprise Edge Call Center Agent User Guide Enterprise Edge Call Center Agent User Guide 1-800-4 NORTEL www.nortelnetworks.com 1999 Nortel Networks Enterprise Edge Call Center Agent User Card Enterprise Edge Call Center is an automatic call distribution

More information

System calls. Problem: How to access resources other than CPU

System calls. Problem: How to access resources other than CPU System calls Problem: How to access resources other than CPU - Disk, network, terminal, other processes - CPU prohibits instructions that would access devices - Only privileged OS kernel can access devices

More information

High Performance Computing Facility Specifications, Policies and Usage. Supercomputer Project. Bibliotheca Alexandrina

High Performance Computing Facility Specifications, Policies and Usage. Supercomputer Project. Bibliotheca Alexandrina High Performance Computing Facility Specifications, Policies and Usage Supercomputer Project Bibliotheca Alexandrina Bibliotheca Alexandrina 1/16 Topics Specifications Overview Site Policies Intel Compilers

More information

BBC LEARNING ENGLISH 6 Minute Grammar Past perfect continuous

BBC LEARNING ENGLISH 6 Minute Grammar Past perfect continuous BBC LEARNING ENGLISH 6 Minute Grammar Past perfect continuous This is not a word-for-word transcript Hello and welcome to 6 Minute Grammar with me,. And me,. Today, we're talking about the past perfect

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

Yubico YubiHSM Monitor

Yubico YubiHSM Monitor Yubico YubiHSM Monitor Test utility for the YubiHSM Document Version: 1.1 May 24, 2012 Introduction Disclaimer Yubico is the leading provider of simple, open online identity protection. The company s flagship

More information

Introduction to the SGE/OGS batch-queuing system

Introduction to the SGE/OGS batch-queuing system Grid Computing Competence Center Introduction to the SGE/OGS batch-queuing system Riccardo Murri Grid Computing Competence Center, Organisch-Chemisches Institut, University of Zurich Oct. 6, 2011 The basic

More information

1 Using the JavaConverter

1 Using the JavaConverter 1 The JavaConverter is a command line tool that performs automatic conversion of any Objective-C or WebScript source code to pure Java code. This can be done file by file or at the project level for any

More information

REDBACK CONFERENCING COMPREHENSIVE USER GUIDE

REDBACK CONFERENCING COMPREHENSIVE USER GUIDE REDBACK CONFERENCING COMPREHENSIVE USER GUIDE ACCOUNT MANAGEMENT PORTAL MODERATOR ACCESS Superior Control, Reporting and Tracking Redback s Account Management Portal lets you manage and track your usage

More information

Approval Process Expense Reports and Travel Cash Advances

Approval Process Expense Reports and Travel Cash Advances Approval Process Expense Reports and Travel Cash Advances Expense Reports and Travel Cash Advances must be approved by the HR Supervisor, the Expense Approver, and the Prepay Auditor before a payment will

More information

Test Driven Development in Assembler a little story about growing software from nothing

Test Driven Development in Assembler a little story about growing software from nothing Test Driven Development in Assembler a little story about growing software from nothing Olve Maudal During the last decade Test-Driven Development has become an established practice for developing software

More information

PHP MySQL vs. Unity. Introduction. The PHP side. The Unity side

PHP MySQL vs. Unity. Introduction. The PHP side. The Unity side PHP MySQL vs. Unity Introduction When using the Unity game engine, there are methods to connect your game to a MySQL database over the internet. The easiest way is to use JavaScript and PHP, especially

More information

JobScheduler Events Definition and Processing

JobScheduler Events Definition and Processing JobScheduler - Job Execution and Scheduling System JobScheduler Events Definition and Processing Reference March 2015 March 2015 JobScheduler Events page: 1 JobScheduler Events - Contact Information Contact

More information

I/O Device and Drivers

I/O Device and Drivers COS 318: Operating Systems I/O Device and Drivers Prof. Margaret Martonosi Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Announcements Project

More information