Code Monkey home page Code Monkey logo

minix-3.2.1's Introduction

alt tag

minix-3.2.1

This is a fork of version 3.2.1 of the respoitory found here.

The functionality added to the fork is as follows:

1. Process Logger

  • Logs start and stop times of most recent process.
plog start
ls
plog -i 0
Process: 123
	Start:	000000000
	End:	000000000

plog stop
  • Allows the user to return information by index or pid.
plog -i 0		//Get item at index 0
plog -p 123		//Get item with pid 123
  • User able to retrieve current size of the buffer.
plog -s
The buffer is of size 0.
  • If desired, user is able to manually clear the buffer.
plog clear

2. State Logger

  • Logs the state transitions of processes specified by the user
statlog start
statlog add 740
ls
PID740  1479846379      --------------      R----E--F-----
PID740  1479846379      R----E--F-----      R-Z--E--F-----
PID740  1479846379      R-Z--E--F-----      R----E--F-----
statlog pause
  • User able to clear the ids to be tracked.
statlog clear

3. CTSS-like Scheduler

  • Modifies the default scheduling algorithm to provide a CTSS like scheduling policy.
    • This only applies to the first three queues (aka nice 0-2)
  • Additionally changes made to "ps"
    • Show number of context switches per process
    • Show current quantum assigned to process

Make Instructions

With the patch.tar file:

tar -xvf patch.tar
cd patch
make test #if you wish to only get the functionality
#or
make full #to get changes to command modules such as "ps"

In order to make the image with most recent patches, pull most recent commmit (or get the most recent patch tarball here and unzip it into any directory besize /usr/src/ (I recommend making a directory in /usr/). Once in place, run make test in the new directory. This make command will patch the files in /usr/src/, build the kernel, and reboot the system for you.

Note: If commands in the bin were changed (as they were in the CTSS-like Scheduler) a full build will need to be run. For this, run make full. However often this is not necessary as most commands are only needed for debugging purposes.

minix-3.2.1's People

Contributors

chandan2300 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.