- CompTIA Linux+ Certification Guide
- Philip Inshanally
- 209字
- 2021-08-13 15:49:45
DMESG
Now, when the system is booting, there are a number of messages relating to various aspects of our system, ranging from hardware to services that fly across the screen quickly. It would be useful to be able to view those messages while troubleshooting. It's always useful to gather as much information as possible to aid troubleshooting.
We can leverage yet another powerful command, the dmesg command:
philip@ubuntu:~$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.0-128-generic (buildd@lcy01-amd64-019) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 (Ubuntu 4.4.0-128.154-generic 4.4.131)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-128-generic root=UUID=adb5d090-3400-4411-aee2-dd871c39db38 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
Some of the following output is omitted for the sake of brevity:
[ 13.001702] audit: type=1400 audit(1529517046.911:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=645 comm="apparmor_parser"
[ 19.155619] e1000: ens33 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 19.156584] IPv6: ADDRCONF(NETDEV_CHANGE): ens33: link becomes ready
[ 105.095992] do_trap: 33 callbacks suppressed
[ 105.095996] traps: pool[2056] trap int3 ip:7f778e83c9eb sp:7f776b1eb6f0 error:0
philip@ubuntu:~$
From the preceding output, we can see various pieces of information, including CPU detection, PCI drivers, and Ethernet, to name a few.
推薦閱讀
- 零起步輕松學單片機技術(第2版)
- 機器學習實戰(zhàn):基于Sophon平臺的機器學習理論與實踐
- 輕松學PHP
- Windows 8應用開發(fā)實戰(zhàn)
- 80x86/Pentium微型計算機原理及應用
- 高維聚類知識發(fā)現關鍵技術研究及應用
- INSTANT Drools Starter
- 所羅門的密碼
- 筆記本電腦電路分析與故障診斷
- 網站規(guī)劃與網頁設計
- Wireshark Revealed:Essential Skills for IT Professionals
- ARM嵌入式系統開發(fā)完全入門與主流實踐
- 歐姆龍PLC應用系統設計實例精解
- ARM嵌入式開發(fā)實例
- 案例解說虛擬儀器典型控制應用