User:Orhun/Kmon

From ArchWiki

kmon provides a text-based user interface for managing the Linux kernel modules and monitoring the kernel activities. By managing, it means loading, unloading, blacklisting and showing the information of a module. These updates in the kernel modules, logs about the hardware and other kernel messages can be tracked with the real-time activity monitor in kmon. Since the usage of different tools like dmesg and kmod are required for these tasks in Linux, kmon aims to gather them in a single terminal window and facilitate the usage as much as possible while keeping the functionality.

kmon is written in Rust and uses tui-rs & termion libraries for its text-based user interface.

Installation

Install the kmonAUR package or kmon-gitAUR for the development version. Also the binary version is available via kmon-binAUR package.

Usage

Start kmon with the following command:

$ kmon

Press ? while running the terminal UI to see key bindings.

Flags

  • -h, --help: Prints help information
  • -r, --reverse: Reverse the kernel module list
  • -u, --unicode: Show Unicode symbols for the block titles
  • -V, --version: Prints version information

Options

  • -c, --color <COLOR>: Set the main color using hex or color name [default: darkgray]
  • -t, --tickrate <MS>: Set the refresh rate of the terminal [default: 250]

Subcommands

  • help: Prints this message or the help of the given subcommand(s)
  • sort: Sort kernel modules
kmon sort [FLAGS]

FLAGS:
    -n, --name    Sort modules by their names
    -s, --size    Sort modules by their sizes

See also