Giter VIP home page Giter VIP logo

os-projects's Introduction

OS-Projects

1. Project Introduction

In this project, we will see how processes are managed in Linux and make a system call to log the information of the current running processes. Your task for this project is to make your own system call to enable the given application sysps to show the information of the current running processes.


2. Implementations

2.1 Output

The user application sysps will be provided to print the following.

  • UID: user ID (root, $USER)
  • PID: process ID
  • PPID: process ID of the parent process
  • NICE: nice value of the current process (-20 ~ 19)
  • STATE: current state of the process (S: sleeping, R: running, Z: zombie)
  • CPU#: CPU # of where the process is scheduled
  • CMD: the executable name of the process
  • nr_switches: # of context switches the processes made
  • nr_running: # of running processes in the runqueue where the process is in
  • list of siblings: information of the process’s siblings
  • list of children: information of the process’s children
  • range of VMA: the start and end addresses of each virtual memory address (CODE, DATA, HEAP, STACK*)
  • number of VMA: the number of the virtual memory address

os-projects's People

Contributors

lufovic77 avatar

Stargazers

Keonyoung Shim avatar

Watchers

James Cloos avatar  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.