dmesg > filename will work as a rule.

I usually do 
dmesg | more
which also does what you want.

The command line in unix, because  of the ability to pipe stuff, has a
real beauty that a gui doesn't (this I'm saying as someone who, a mere
eight months ago, was a diehard Mac fanatic).

Also, if you wanted to see only the stuff about eth0 you could:

dmesg | grep eth0

(print out only those lines in dmesg that contain the phrase eth0)

which on my system would get:

eth0: Digital DS21140 Tulip at 0xdc00, 00 40 05 51 a7 8c, IRQ 9.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
eth0:  MII transceiver found at MDIO address 0, config 1000 status 782d.
eth0:  Advertising 01e1 on PHY 0, previously advertising 01e1.
eth0:  Advertising 01e1 on PHY 0 (0).

On Sat, 2 Jan 1999, Ronald V. Vazquez wrote:

> Is there a way to capture a screen dump into a file? When I dmesg I
> can't read the screen fast enough.  Where does everything goes?  Thanks
> a lot, Ronald.

_Deirdre   *   #include <disclaimer.deirdre.org>   *   http://www.deirdre.net
"I did rather well myself this past Christmas. The nicest present I
received was a gift certificate good at any hospital for a lobotomy.
Rather thoughtful." --Tom Lehrer

Reply via email to