dmesg

Write the kernel messages to stdout. More information: https://www.unix.com/man-page/sunos/1m/dmesg.

dmesg

dmesg | grep -i memory

dmesg | less