- Linux Device Driver Development Cookbook
- Rodolfo Giometti
- 156字
- 2021-06-24 13:54:05
Kernel and logging messages
On several GNU/Linux distribution, kernel messages have this usual form:
[ 3.421397] mvneta d0030000.ethernet eth0: Using random mac address 3e:a1:6b:
f5:c3:2f
This is a quite a long line for this book, so that's why we drop the characters from the start of each line up to the point where the real information begins. So, in the preceding example, the lines output will be reported as follow:
mvneta d0030000.ethernet eth0: Using random mac address 3e:a1:6b:f5:c3:2f
However, as already said, if the line is still too long, it will be broken anyway.
Long outputs, or repeated or less important lines in the Terminal, are dropped by replacing them with three dots, ..., as follows:
output begin
output line 1
output line 2
...
output line 10
output end
When the three dots are at the end of a line, it means that the output continues, but I decided cut it for space reasons.
推薦閱讀
- Learning OpenDaylight
- 零起點學Linux系統管理
- Red Hat Enterprise Linux 8系統管理實戰
- Linux內核完全注釋(20周年版·第2版)
- Ubuntu Linux操作系統
- Windows Phone 7.5 Data Cookbook
- Linux內核觀測技術BPF
- Windows 7案例教程
- 計算機系統的自主設計
- Cassandra 3.x High Availability(Second Edition)
- OpenStack Essentials(Second Edition)
- 操作系統之哲學原理第2版
- Hadoop Operations and Cluster Management Cookbook
- Python機器學習系統構建(原書第3版)
- Drupal 7 Mobile Web Development Beginner’s Guide