hoangqwe159 / process-overseer-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process-overseer-C

Two programs are required: a server program “overseer” and a client program “controller”, networked via BSD sockets (as covered in week 7). The overseer runs indefinitely, processing commands sent by controller clients. The controller only runs for an instant at a time; it is executed with varying arguments to issue commands to the overseer, then terminates. The usage of the overeseer is shown below. overseer The usage of the controller is shown below. controller

{[-o out_file] [-log log_file] [-t seconds] [arg...] | mem [pid] | memkill }

  • < > angle brackets indicate required arguments.
  • brackets indicate optional arguments.
  • ... ellipses indicate an arbitrary quantity of arguments.
  • { } braces indicate required, mutually exclusive options, separated by pipes |. That is, one and only one of the following must be chosen: – [-o out_file] [-log log_file] [-t seconds] [arg...] – mem [pid] – memkill

Demo videos:

Run make to make executable files, make clean to clean files

About


Languages

Language:C 99.0%Language:Makefile 1.0%