Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 922 Bytes

File metadata and controls

46 lines (29 loc) · 922 Bytes

README

This repository consists of two projects:

  1. jobs_management
  2. multithread_network (vrs 1 and 2)

jobs_management

Jobs_management is a client-server program, where the client (commander) and the server (executor) communicate via named pipes. It undertakes the execution of tasks received from an input file.

To run:

make

cd bin

./jobCommander <command_name> <arguments>

multithread_network

Multithread_network is a multithreaded network application, an extension of jobs_management. The second version only has different directory structure.

To run (open at least 2 terminals):

  • Terminal 1:
make

cd bin

./jobExecutorServer [portNum] [bufferSize] [threadPoolSize]

(ex ./jobExecutorServer 7856 5 8)
  • Terminal 2(+):
cd bin

./jobCommander [serverName] [portNum] [jobCommanderInputCommand]

(ex ./jobCommander linux18 7856 issueJob ./progDelay 15)