Linux command
kmon 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the kernel module manager
kmon
Set the refresh rate
kmon -t [ms]
Set the main color
kmon -c [color]
Launch with Unicode block titles
kmon -u
Launch with reversed module list
kmon -r
说明
kmon provides a text-based user interface for managing Linux kernel modules and monitoring kernel activities. It supports loading, unloading, blacklisting, and displaying information about kernel modules, all from an interactive terminal interface. The TUI displays kernel activities in real time and provides navigation through loaded modules with detailed information about each one.
参数
- -t, --tickrate _MS_
- Set the refresh rate of the terminal UI in milliseconds.
- -c, --color _COLOR_
- Set the main color default: darkgray. Supported: black, red, green, yellow, blue, magenta, cyan, gray, darkgray, lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan, white, or a hex value.
- -a, --accent-color _COLOR_
- Set the accent color default: white.
- -r, --reverse
- Reverse the kernel module list.
- -u, --unicode
- Show Unicode symbols for the block titles.
- -E, --regex
- Interpret the module search query as a regular expression.
FAQ
What is the kmon command used for?
kmon provides a text-based user interface for managing Linux kernel modules and monitoring kernel activities. It supports loading, unloading, blacklisting, and displaying information about kernel modules, all from an interactive terminal interface. The TUI displays kernel activities in real time and provides navigation through loaded modules with detailed information about each one.
How do I run a basic kmon example?
Run `kmon` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t, --tickrate _MS_ do in kmon?
Set the refresh rate of the terminal UI in milliseconds.