Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2001 02:45:22 -0700
From:      John Merryweather Cooper <jmcoopr@webmail.bmi.net>
To:        Peter Salvage <wizard@sybaweb.co.za>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: dmesg question
Message-ID:  <20010613024522.C6020@johncoop>
In-Reply-To: <004101c0f3eb$a3d233a0$0200a8c0@ait.co.za>; from wizard@sybaweb.co.za on Wed, Jun 13, 2001 at 02:31:35 -0700
References:  <004101c0f3eb$a3d233a0$0200a8c0@ait.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001.06.13 02:31 Peter Salvage wrote:
> Hi all
> 
> I've been asked by someone to give them the output of dmesg showing the
> machine's hardware info. The man page reveals the following:
> 
> NAME
>      dmesg - display the system message buffer
> 
> SYNOPSIS
>      dmesg [-a] [-M core] [-N system]
> 
> DESCRIPTION
>      Dmesg displays the contents of the system message buffer.
>      The options are as follows:
>      -a      Show all data in the message buffer.  This includes any
> syslog
>       records and /dev/console output.
>      -M      Extract values associated with the name list from the
> specified
>       core instead of the default /dev/kmem.
>      -N      Extract the name list from the specified system instead of
> the
>       default /kernel.
> 
> Would someone please help me to get the required info?
> <sigh>
> 
> TIA
> /wiZZ
> 
It's easier than you think:

dmesg | less              (to view)
dmesg > some_file_name    (to transport in a file)

Give it a try.  It's not going to break anything.  YMMV.

jmc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010613024522.C6020>