Difference between revisions of "Dmesg"

From GhostBSD Wiki
Jump to: navigation, search
Line 3: Line 3:
 
==Intoduction==
 
==Intoduction==
  
[https://www.freebsd.org/cgi/man.cgi?query=dmesg&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Dmesg] displays the system message buffer. With other words: If you like to know, which hardware is detected by your system, you can use the command <code>dmesg</code>. This program is stored in  
+
[https://www.freebsd.org/cgi/man.cgi?query=dmesg&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Dmesg] displays the system message buffer. With other words: If you like to know, which hardware is detected by your system, you can use the command <code>dmesg</code>. This program is stored in [[/sbin/]] and shows  information stored in ''/var/run/dmesg.boot''
  
==Use==
+
==The Options are as follows==
  
 +
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"
 +
|-
 +
! scope="col" style="width: 50px;"|'''Option'''
 +
! scope="col" style="width: 350px;"|'''Description'''
 +
|-
  
 +
|    -a ||Show all data in the message buffer.  This includes any syslog  records and /dev/console output.
 +
|-
 +
|    -c   ||Clear the kernel buffer after printing.
 +
|-
 +
|    -M   ||Extract values associated with the name list from the specified    core.
 +
|-
 +
|    -N || If -M is also specified, extract the name list from the specified system instead of the default, which is the kernel image the system has booted from.
 +
|}
  
  
 +
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:center;padding: 10px"
 +
|-
 +
 +
|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/sbin/]]'''System Administration Utilities'''
 +
 +
|}
  
  
 
[[Category:Sysutils]]
 
[[Category:Sysutils]]

Revision as of 08:43, 11 March 2020

Welcome to Icon Disti GhostBSD.png Dmesg.

Intoduction

Dmesg displays the system message buffer. With other words: If you like to know, which hardware is detected by your system, you can use the command dmesg. This program is stored in /sbin/ and shows information stored in /var/run/dmesg.boot

The Options are as follows

Option Description
-a Show all data in the message buffer. This includes any syslog records and /dev/console output.
-c Clear the kernel buffer after printing.
-M Extract values associated with the name list from the specified core.
-N If -M is also specified, extract the name list from the specified system instead of the default, which is the kernel image the system has booted from.


Back to Icon Disti GhostBSD.pngSystem Administration Utilities