dmesg
Write the kernel messages to stdout. More information: <https://manned.org/dmesg>.
Install
- All systems
-
curl cmd.cat/dmesg.sh
- Debian
-
apt-get install util-linux - Ubuntu
-
apt-get install util-linux -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install util-linux - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/dmesg dmesgpowered by Commando
Write the kernel messages to stdout. More information: <https://manned.org/dmesg>.
-
Show kernel messages:
dmesg -
Show kernel error messages:
dmesg --level err -
Show kernel messages and keep reading new ones, similar to `tail -f` (available in kernels 3.5.0 and newer):
dmesg -w -
Show how much physical memory is available on this system:
dmesg | grep -i memory -
Show kernel messages 1 page at a time:
dmesg | less -
Show kernel messages with a timestamp (available in kernels 3.5.0 and newer):
dmesg -T -
Show kernel messages in human-readable form (available in kernels 3.5.0 and newer):
dmesg -H -
Colorize output (available in kernels 3.5.0 and newer):
dmesg -L
© tl;dr; authors and contributors