Display device information with the dmesg command.
# /usr/sbin/dmesg |
The dmesg output is displayed as messages on the system console and identifies which devices are connected to the system since the last reboot.
The following dmesg output is displayed from a SPARC based system.
# dmesg date starbug genunix: [ID 540533 kern.notice] SunOS Release 5.8 Generic 64-bit date starbug genunix: [ID 223299 kern.notice] Copyright (c) 1983-2000 by S un Microsystems, Inc. date starbug genunix: [ID 678236 kern.info] Ethernet address = 8:0:20:a6:d 4:5b date starbug genunix: [ID 897550 kern.info] Using default device instance data date starbug unix: [ID 389951 kern.info] mem = 131072K (0x8000000) date starbug unix: [ID 930857 kern.info] avail mem = 121724928 date starbug rootnex: [ID 466748 kern.info] root nexus = Sun Ultra 5/10 UP A/PCI (UltraSPARC-IIi 333MHz) . . . # |
The following dmesg output is displayed from an IA based system.
# dmesg date naboo genunix: [ID 540533 kern.notice] SunOS Release 5.8 Version Generic 32-bit date naboo genunix: [ID 223299 kern.notice] Copyright (c) 1983-2000 by Sun Microsystems, Inc. date naboo genunix: [ID 897550 kern.info] Using default device instance data date naboo unix: [ID 168242 kern.info] mem = 32380K (0x1f9f000) date naboo unix: [ID 930857 kern.info] avail mem = 19390464 date naboo rootnex: [ID 466748 kern.info] root nexus = i86pc date naboo rootnex: [ID 349649 kern.info] pci0 at root: space 0 offset 0 date naboo genunix: [ID 936769 kern.info] pci0 is /pci@0,0 date naboo genunix: [ID 678236 kern.info] Ethernet address = 00:a0:24:89:b0:72 date naboo gld: [ID 944156 kern.info] elx0: 3COM EtherLink III: type "ether" mac address 00:a0:24:89:b0:72 date naboo pci: [ID 370704 kern.info] PCI-device: pci10b7,5950@c, elx0 date naboo genunix: [ID 936769 kern.info] elx0 is /pci@0,0/pci10b7,5950@c . . . |