mirror of
https://github.com/orhun/kmon
synced 2024-07-08 20:06:03 +00:00
doc: Adding reload command to docs (help text, man page and README.md)
This commit is contained in:
parent
cd1af0b47d
commit
c766dd7fd1
14
README.md
14
README.md
|
@ -86,6 +86,7 @@ kmon is written in [Rust](https://www.rust-lang.org/) and uses [tui-rs](https://
|
|||
- [Searching a module](#searching-a-module)
|
||||
- [Loading a module](#loading-a-module)
|
||||
- [Unloading a module](#unloading-a-module)
|
||||
- [Reloading a module](#reloading-a-module)
|
||||
- [Blacklisting a module](#blacklisting-a-module)
|
||||
- [Clearing the ring buffer](#clearing-the-ring-buffer)
|
||||
- [Copy & Paste](#copy--paste)
|
||||
|
@ -256,6 +257,7 @@ FLAGS:
|
|||
| `[/], s, enter` | Search a kernel module |
|
||||
| `[+], i, insert` | Load a kernel module |
|
||||
| `[-], u, backspace` | Unload the kernel module |
|
||||
| `r` | Reload the kernel module |
|
||||
| `[x], b, delete` | Blacklist the kernel module |
|
||||
| `y/n` | Execute/cancel the command |
|
||||
| `c/v` | Copy/paste |
|
||||
|
@ -336,6 +338,18 @@ The command that used for removing a module:
|
|||
modprobe -r <module_name>
|
||||
```
|
||||
|
||||
### Reloading a module
|
||||
|
||||
Use `r` key to reload the selected module.
|
||||
|
||||
![Reloading a module](https://dummyimage.com/900x497/000/dddddd&text=Placeholder+for+reloading+modules)
|
||||
|
||||
The command that used for removing a module:
|
||||
|
||||
```
|
||||
modprobe -r <module_name> && modprobe <module_name>
|
||||
```
|
||||
|
||||
### Blacklisting a module
|
||||
|
||||
[Blacklisting](https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting) is a mechanism to prevent the kernel module from loading. To blacklist the selected module, use one of the `x, b, delete` keys and confirm the execution.
|
||||
|
|
|
@ -78,6 +78,9 @@ Load a kernel module
|
|||
.B [-], u, backspace
|
||||
Unload the kernel module
|
||||
.TP
|
||||
.B r
|
||||
Reload the kernel module
|
||||
.TP
|
||||
.B [x], b, delete
|
||||
Blacklist the kernel module
|
||||
.TP
|
||||
|
|
|
@ -25,7 +25,7 @@ pub const KEY_BINDINGS: &[(&str, &str)] = &[
|
|||
("/, s, enter", "search a kernel module"),
|
||||
("+, i, insert", "load a kernel module"),
|
||||
("-, u, backspace", "unload the kernel module"),
|
||||
("r", "reload a kernel module"),
|
||||
("r", "reload the kernel module"),
|
||||
("x, b, delete", "blacklist the kernel module"),
|
||||
("y/n", "execute/cancel the command"),
|
||||
("c/v", "copy/paste"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user