Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Batch Monitor Program in Linux Using a UNIX/LINUX/UNIX Emulator (mine is Oracle VirtualBox), I need create a console program that can compile and execute programs

Batch Monitor Program in Linux

Using a UNIX/LINUX/UNIX Emulator (mine is Oracle VirtualBox), I need create a console program that can compile and execute programs either by the user entering the name of the program, or automatically executing all of the programs in a directory. The program will essentially simulate the system monitor of a Batch system. The programs are small C language programs, the contents of which don't really matter, but each time a program does some i/0, I need to do a small delay. The programs will reside in a directory called /jobs, and The Batch Monitor program will live in a different directory than the jobs directory

It would look like this,

C:\users\batch (the Batch Monitor Program in here)

C:\users\batch\jobs(the C Programs in here)

  1. The Batch Monitor program needs to give the user the following options
    1. Offer help
    2. List program options
    3. Shutdown
    4. Compile and run all jobs in a specific directory.
    5. Compile and run a specific program
    6. Set jobs directory
    7. List jobs

How do I set up this Batch Monitor program?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

Explain exothermic and endothermic reactions with examples

Answered: 1 week ago

Question

5. Discuss the key roles for training professionals.

Answered: 1 week ago