Tuesday, June 2, 2009

How to find server hardware model?

In Linux:

# /usr/sbin/dmidecode | grep "Product Name" | head -1
Product Name: Sun Fire V20z


In Solaris:

# /usr/sbin/prtdiag | grep "System Configuration"
System Configuration: Sun Microsystems Sun Fire V20z


In HP-UX:

# /usr/bin/model
9000/785/C3600

2 comments:

Tanweer said...

Thanks a lot vikas for sharing this :)

`tanweer

Waseem said...

Thanks buddy