Show recent kernel errors
Show the last 50 kernel errors and warnings with readable timestamps.
dmesg -T --level=err,warn | tail -50
- tool
- linux133 commands
More linux commands
-
lsmod | sortList all kernel modules that are loaded right now, sorted by name.
-
modprobe <module> && lsmod | grep <module>Load a module with its dependencies and check that it is loaded.
-
modinfo <module>Show module parameters, version, license and dependencies.
-
sysctl -a | grep vm.swappinessList all kernel parameters and filter them by name (here vm.swappiness).
-
sysctl -w net.ipv4.ip_forward=1Turn on IP forwarding right now. To keep it after a reboot, also add it to /etc/sysctl.d/.