반응형
Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- cpu frequency
- vpiimage
- /dev/kmsg
- gstsample
- nvarguscamerasrc
- linux
- libargus api
- server error
- meta-tegra
- bash
- yocto
- nvidia
- gcc7
- orin nx
- RDEPENDS
- mkfs.ext4
- vpi
- libargus
- LAYERS
- udpsink
- boot process
- l4t
- 오블완
- camera
- 티스토리챌린지
- ssd 포맷
- 봉화 숲속캠핑장
- lineedit
- bitbake
- Jetson
Archives
- Today
- Total
DREAMER
[dmesg] dmesg 실시간으로 출력하기 본문
728x90
반응형
dmesg를 새로운 메시지가 쌓일때마다 콘솔창에 바로바로 출력하기 위해서는 -w옵션(follow)을 주면 된다.
w 옵션은 새로운 메시지를 기다리고 있다가, 새로운 메시지가 입력되면 출력해준다.
$ dmesg -w
하지만, 특정 환경에서는 dmesg -w 입력 시 실행할 수 없는데, 다음과 같이 에러 메시지가 출력된다.
$ dmesg -w
dmesg: invalid option -- 'w'
BusyBox v1.31.1 () multi-call binary.
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
이 경우에는 다음과 같이 사용한다.
$ watch -n 0.1 "dmesg | tail -n $((LINES-6))"
728x90
반응형
'프로그래밍 > Linux' 카테고리의 다른 글
[Shell Script] 옵션 값 정리 (0) | 2024.04.08 |
---|---|
[Teams] Ubuntu 18.04에 Teams 설치 (명령어로) (0) | 2023.11.30 |
[skia] bazelisk 설치 (0) | 2023.09.21 |
[dmesg] dmesg에 로그 출력 (0) | 2023.08.08 |
[Bash] 자주 사용하는 문법 (0) | 2023.08.08 |
Comments