$ cd ../
Softirq Watch — bash

user@devops:~$ cat README.md

Softirq Watch

# Description

Softirq Watch is a Linux kernel softirq (software interrupt) monitor that reads /proc/softirqs and displays per-CPU distribution in pure C++23 with no external dependencies. It presents a formatted table with 10 softirq types (HI, TIMER, NET_TX, NET_RX, BLOCK, IRQ_POLL, TASKLET, SCHED, HRTIMER, RCU), per-CPU totals, type percentage over the system total, and a balance metric (coefficient of variation) indicating how evenly the load is distributed across cores. Includes watch mode with configurable refresh interval, number formatting with thousands separators, and ANSI-colored output. Compiled with GCC 14 using only the C++23 standard library (std::print, std::println, std::format, std::chrono, std::thread).

# Key features

$ Reads and parses /proc/softirqs in pure C++23

$ Per-CPU softirq distribution table

$ Totals by softirq type and global percentage

$ Balance metric: coefficient of variation across CPUs

$ Watch mode with N-second refresh interval

$ Numbers formatted with thousands separators

$ Zero external dependencies: stdlib C++23 only

$ Direct compilation with g++ without CMake

# Gallery

Desktop view
Softirq Watch - Desktop view
Mobile view
Softirq Watch - Mobile view

# Technologies used

C++23