$ cd ../
lsmod — bash

user@devops:~$ cat README.md

lsmod

# Description

cpp-lsmod is a Linux kernel module table viewer written in C++23 with no external dependencies. It reads /proc/modules and shows name, size, use count, dependencies and state (Live). --tree draws the dependency tree. --json exports the list for scripts. --watch N refreshes the table. --filter NAME and --sort size|deps|count|name narrow the view. --demo and --selftest cover the parser. --no-color keeps the output ready for grep. Zero deps: g++ -std=c++23 -O2 -Wall -Wextra.

# Key features

$ /proc/modules table: size, use count, dependencies and state

$ Dependency tree (--tree)

$ JSON output (--json) for scripting

$ Watch mode (--watch N) with periodic refresh

$ Filter by name and sort by size, deps, count or name

$ --demo, --selftest and --no-color for pipes

$ Zero dependencies: g++ -std=c++23

# Gallery

Project terminal
lsmod - Project terminal
Mobile view
lsmod - Mobile view

# Technologies used

C++23