misc commands
This commit is contained in:
parent
859ca1d5a2
commit
298edf8587
14
README.md
14
README.md
@ -117,28 +117,24 @@ In order for module to use any externally declared symbol module must:
|
||||
|
||||
2. Add another entry to the `__versions` section
|
||||
|
||||
# Misc
|
||||
|
||||
## Module loading
|
||||
# Misc commands
|
||||
|
||||
* Module loading
|
||||
```bash
|
||||
insmod module_name.ko
|
||||
```
|
||||
|
||||
## List loaded modules
|
||||
|
||||
* List loaded modules
|
||||
```bash
|
||||
lsmod
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
* Logs
|
||||
```bash
|
||||
dmesg | grep insmod
|
||||
```
|
||||
|
||||
## Module unloading
|
||||
|
||||
* Module unloading
|
||||
```bash
|
||||
rmmod MODULE_NAME # from .gnu.linkonce.this_module section
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user