dmesg

Write the kernel messages to stdout. More information: https://keith.github.io/xcode-man-pages/dmesg.8.html.

dmesg

dmesg | grep -i memory

dmesg | less