An open API service indexing awesome lists of open source software.

https://github.com/adeelh/remote-task-manager

CLI app that allows clients to execute programs on a remote computer. Supports multiple concurrent clients. (class project for Systems Programming, Spring 2016)
https://github.com/adeelh/remote-task-manager

c client-server multiplexed-io multiprocessing remote-execution system-programming

Last synced: about 1 year ago
JSON representation

CLI app that allows clients to execute programs on a remote computer. Supports multiple concurrent clients. (class project for Systems Programming, Spring 2016)

Awesome Lists containing this project

README

          

# Description
A commandline app that allows clients to execute programs on a remote computer. Supports multiple concurrent clients.

# Commands

## Client
```Shell
# Connect to the server.
> conn[ect]

# Close the Task Manager and the socket. Keep the client running.
> disconnect
```

## Client -> Task Manager
```Shell
# Sleep for seconds. (Can be used to check the non-blocking behavior of the client).
> sleep

# Start instances of the program.
[run] []

# List alive processes.
> list

# List all alive or dead processes started through the Task Manager.
> list all

# List all alive or dead processes started through the Task Manager,
# along with their start, end, and the elapsed times.
> list details

# Kill process by pid or name
> kill [ | ]

# Kill all processes
> kill [all | *]

# Add, subtract, multiply or divide.
> add [ [ …]]
> sub [ [ …]]
> mul [ [ …]]
> div [ [ …]]

# Exit the Task Manager.
> exit | ex | quit | q | disconnect
```

## Client -> Task Manager -> Server
```Shell
# Message shows up on the server terminal.
> msg
```

## Server
```Shell
# List currently connected clients.
> list

# Disconnect this particular client.
> disconnect :

# Disconnect all clients.
> disconnect all

# Disconnect any connected clients and exit.
> exit | ex | quit | q
```

## Server -> Task Manager -> Client
```Shell
# Message shows up each client’s terminal.
> broadcast

# Send command to this client’s Task Manager and receive the output.
> cl :
```