Command for linux server model
Was today trying to find out the model of a linux server which was a remote one, and didn't have anybody on the other end at the time to ask for. Didn't know the command and thought there wasn't one. But, stumbled across these valuable info even though may look like a trifle matter which is not unimportant when you need it asap.
Never knew there were so many command options for finding the system info. Some of 'em are:
# dmidecode | grep -m1 "Product Name" --> If you're trying to find the model(HP).
which gives for ex- Product Name: ProLiant DL320s G1.
# hwinfo --short --> Gives the motherboard and hardware info(didn't work on redhat).
# cat /proc/cpuinfo --> i guess most of you might be def aware of.
These are simple commands but give a lot of useful info!
Never knew there were so many command options for finding the system info. Some of 'em are:
# dmidecode | grep -m1 "Product Name" --> If you're trying to find the model(HP).
which gives for ex- Product Name: ProLiant DL320s G1.
# hwinfo --short --> Gives the motherboard and hardware info(didn't work on redhat).
# cat /proc/cpuinfo --> i guess most of you might be def aware of.
These are simple commands but give a lot of useful info!
Comments