官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 九江市| 平山县| 梁平县| 嵊州市| 涿鹿县| 平泉县| 兴山县| 涟水县| 井陉县| 宁津县| 泽普县| 惠安县| 镇坪县| 射阳县| 德昌县| 平泉县| 枝江市| 凤庆县| 桃园市| 建宁县| 东兴市| 资溪县| 南召县| 福鼎市| 景德镇市| 新野县| 建德市| 盱眙县| 崇文区| 综艺| 读书| 商南县| 赫章县| 唐河县| 通山县| 高碑店市| 泰宁县| 太保市| 茂名市| 萝北县| 都兰县|