본문으로 바로가기

One way to track "dmesg" in real time

category Scrapes/Linux Knowledges 2014.04.29 02:59

Sometimes, you might want to know what your system says.

There are some reasons to keep tracking your system messages on your linux machine.

For example, You have trouble with overheating issue, network device issues or iptables,  firewall issues.

Above issues bring some warning/alert/notice or some kind of things from your system.

But the problem is you can not grab the latest message with "dmesg" command while your machine keep bringing errors.


Here is one way to grab the latest dmesg in real time below.


$sudo watch "dmesg | tail -20"



Article in Korean


리눅스 머신에서 "dmesg" 실시간으로 보기


$sudo watch "dmesg | tail -20"



댓글을 달아 주세요