250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- /dev/kmsg
- gcc7
- meta-tegra
- boot process
- bitbake
- yocto
- libargus
- breakpoints
- cpu frequency
- libargus api
- valgrind
- ssd 포맷
- lineedit
- camera
- l4t
- cpu 점유율 출력
- linux
- bluetoothd
- VisionWorks
- HPD
- nvidia
- server error
- RDEPENDS
- nvarguscamerasrc
- orin nx
- LAYERS
- cpu temperature
- mkfs.ext4
- Jetson
- bash
Archives
- Today
- Total
목록/dev/kmsg (1)
DREAMER
[dmesg] dmesg에 로그 출력
터미널에서 dmesg로 메시지를 출력하고 싶을 때가 있다. $ date | sudo tee /dev/kmsg $ dmesg [ 842.468233] Tue Aug 8 02:43:28 UTC 2023 원하는 내용을 출력하려면 echo를 사용하면 된다. $ echo "This is my message!" | sudo tee /dev/kmsg $ dmesg | grep message [ 969.003267] This is my message! 만약 Bash shell에서 dmesg로 출력하고 싶으면, 마찬가지로 echo "" | sudo tee /dev/kmsg 하면 된다. 아래와 같이 작성 후에 실행하면 dmesg로 출력됨을 확인할 수 있다. #!/bin/bash set -e script_dir="$(cd ..
프로그래밍/Linux
2023. 8. 8. 11:48