GithubHelp home page GithubHelp logo

offinejudge's Introduction

# Control-Group-Based Offline Judge System  

## Introduction

This is the final project for SP23 CSE 522S at Washington University in St. Louis. It is a local judge system implemented in C using Control-Group v2, tested on Raspberry Pi 3B+.

## Directory
- .
  - host.h: the header containing the host, driver, and monitor functionalities
  - main.c: the main program
  - README.txt: readme file
  - report.h: the header containing the interface to read the collected statistics
- demo
  - stats.numbers: contains demo statistics
- executables1
  - fork: a simple fork bomb
  - mem1: allocate approximately 200 MB of memory
  - mem2: allocate approximately 300 MB of memory
  - rand: performing random float operations
  - sleep1.sh: shell code that sleep for 1 second
  - sleep2.sh: shell code that sleep for 2 seconds
  - stats.csv: raw output file
- executables2
  - hostname.sh: shell code that tries to change the host name
  - reboot.sh: shell code that tries reboot the system
- executables3
  - sudo_hostname.sh: change the hostname with sudo
  - sudo_reboot.sh: reboot with sudo
  - *: raw c code for the executable

## Execution
- sample command
  - clear; gcc main.c -o main; sudo ./main 1500 50 200 1 executables2/

offinejudge's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.