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
tags
linuxkerneldebug

More linux commands

  • lsmod | sort

    List 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.swappiness

    List all kernel parameters and filter them by name (here vm.swappiness).

  • sysctl -w net.ipv4.ip_forward=1

    Turn on IP forwarding right now. To keep it after a reboot, also add it to /etc/sysctl.d/.

all 133 linux commands