Re: determining hardware model

Rhon Fitzwater <[email protected]> Wed, 9 Jul 2003 16:28:09 -0400
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <[email protected]>
None of that gives me the hardware model.  Say I have a linux running 
on a Dell PowerEdge 650.  I want to be able to run a command on that 
machine and get back the hardware model which would be Dell PowerEdge 
650.

Does anyone know of a way to find this information programatically?

Thanks,

-Rhon
On Wednesday, July 9, 2003, at 04:20 PM, Ajai Khattri wrote:

> 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
>
>
> _______________________________________________
> Guinness-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/guinness-list