How to find Server model in Suse? dmidecode is not working here
server gives output for hwinfo, but not listing lshw,lshal etc. Server is remotely located, so I cant find it physically. dmesg command is also not helping with boot logs.
I am not a Suse admin, request fast reply.
Thanks
Shyam
What about the /proc filesystem. Files like /proc/cpuinfo
What are you looking for?
1 Like
I am looking for model of Server not of CPU.
Try:
grep DMI: /var/log/dmesg*
If the old logs are gzipped then you may need to uncompress them first.
dmidecode -t system | awk -F: '$1~/Product Name/'
works on many if not all systems. But needs root (sudo).
HI,
Both the above reply doesnt help, but thanks for checking.
dmidecode doesnt work here. Also there is no loggiing for dmesg.
Thanks
Shyam
---------- Post updated at 06:29 PM ---------- Previous update was at 05:18 PM ----------
Thanks all for your efforts.
I finally got answer when tried like below
host # hwinfo >/var/tmp/hwinfo.out
host # grep -i product /var/tmp/hwinfo.out
Product = 'ProLiant DL380 G4'
THanks
Shyam
THis thread can be closed and appreciate running this forum.