For When You Can't Have The Real Thing
[ start | index | login ]
start > Solaris > Identifying Hardware

Identifying Hardware

Created by dave. Last edited by dave, 11 years and 240 days ago. Viewed 2,490 times. #1
[edit] [rdf]
(10 July 2012)

A simple script I wrote back in 1998 to identify some of the hardware in a (SPARC-based) Sun:


/usr/sbin/prtconf | head -2 uname -a dmesg | grep "oot nexus" | uniq dmesg | egrep "^cpu.:" | sort | uniq dmesg | egrep "^mem.=" | uniq

root@sol10 # ./suntype
System Configuration:  Oracle Corporation  sun4u
Memory size: 2560 Megabytes
SunOS sol10 5.10 Generic_147440-01 sun4u sparc SUNW,Sun-Fire-V240

Naturally if your dmesg has filled up with noise since boot, you won't get anything out of it.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt