/tv_lab3

Primary LanguagePython

tv_lab3

How to run

  • Clone repo.

    got clone https://github.com/ahmedXDR/tv_lab3.git
    
    cd tv_lab3
  • Create rootfs archive

    docker build -t ubuntu_sysbench .
    docker create --name sysbench-container ubuntu_sysbench
    docker export sysbench-container -o rootfs.tar
  • Compile main script

    g++ main.cpp -o main  
  • Make excutable and run main script

    chmod +x main
    ./main
  • To run benchmark script run the following command inside the conatiner

    python3 benchmark.py