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
|
2. Add another entry to the `__versions` section
|
||||||
|
|
||||||
# Misc
|
# Misc commands
|
||||||
|
|
||||||
## Module loading
|
|
||||||
|
|
||||||
|
* Module loading
|
||||||
```bash
|
```bash
|
||||||
insmod module_name.ko
|
insmod module_name.ko
|
||||||
```
|
```
|
||||||
|
|
||||||
## List loaded modules
|
* List loaded modules
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
lsmod
|
lsmod
|
||||||
```
|
```
|
||||||
|
|
||||||
## Logs
|
* Logs
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dmesg | grep insmod
|
dmesg | grep insmod
|
||||||
```
|
```
|
||||||
|
|
||||||
## Module unloading
|
* Module unloading
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rmmod MODULE_NAME # from .gnu.linkonce.this_module section
|
rmmod MODULE_NAME # from .gnu.linkonce.this_module section
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user