Giter VIP home page Giter VIP logo

final_linuxprj's Introduction

#SUSSYSYS

A syscall tracing dashboard

(Part of PESU I/O slot-14 course material)

To run the project basically, try:

echo 0 > tracing_on : quick way to disable tracing {May or may not make a difference based on distro afaik}

echo 1 > tracing_on : quick way to enable tracing supposedly {Same goes for this, do try it out just in case}

before running please activate venv: source venv/bin/activate

also mount debugfs using: sudo mount -t debugfs none /sys/kernel/debug

To run the dashboard, the command is: sudo streamlit run dashboard.py

FOR SLOT-14 STUDENTS

You may also use strace to trace syscalls and use streamlit to make it into a real time tracing dashboard

strace helpful commands

  1. strace -c -p PID

  2. strace -e trace=write -p PID (The argument for trace can be replaced by whatever kind of call you want to trace)

General Instructions for PESU I/O kids:

The dashboard does not need to follow any sort of strict rules of sorts, for any clarifications you can contact me.

The bare minimum your project needs to do is either generate a report of the number of syscalls made in a time interval or it needs to do real time tracing like is done in dashboard.py(preferred) you can choose to either work on the code already given or make a new project on your own and use this repository as a reference. Do not hesitate to ask for help, however issues related to syntax errors will NOT be entertained, thats for you all to debug on your own :)

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.