Re: determining hardware model

Ajai Khattri <[email protected]> Wed, 9 Jul 2003 16:20:33 -0400
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <[email protected]>
On Wed, Jul 09, 2003 at 03:53:17PM -0400, Rhon Fitzwater wrote:

> I need to know what hardware model I am using to run linux.  I have a 
> script that I run on solaris machines that outputs what kind of 
> hardware the server is (i.e. Sun Enterprise E4500/E5500).  I need to 
> get this info somehow from the linux machines.  Any suggestions?

You could run dmesg.

Also:
cat /proc/cpuinfo
cat /proc/pci
cat /proc/devices
lsmod

On RH, you also look at /etc/sysconfig/hwconf

-- 
Aj.
Sys. Admin / Developer