Skip to content
Projects · Jan 2022 – Apr 2022 · PES University

Linux Kernel Task Viewer Module

Linux kernel module that lists running tasks (PID, state, parent) for a real‑time process‑tree snapshot — built to learn kernel internals hands‑on.

Operating Systems Kernel Programming Process Management Systems Debugging

Overview

A Linux kernel module that dynamically enumerates all running tasks and exposes a real‑time snapshot of the system’s process tree, including PID, state, and parent relationship.

Problem

User‑space tools show processes, but kernel‑space visibility teaches *why* the OS behaves as it does. The aim was to learn task structures and iteration safely inside the kernel.

Approach

Implemented kernel‑space traversal over the task list and formatted results for easy reading. Designed a simple user‑space access point (e.g., /proc entry) to retrieve the snapshot. Kept safety and clarity in focus: clean module lifecycle, predictable output, and documented build/run steps.

Impact

A rare undergrad‑level portfolio piece: kernel programming, OS internals, and disciplined C engineering — a strong differentiator for systems roles.