Operating System - HP-UX
1834828 Members
2324 Online
110070 Solutions
New Discussion

Re: Command to get Model number

 
SOLVED
Go to solution
Anthony Olson
New Member

Command to get Model number

I am looking to automate our annual process of determining how many and of what type of UNIX boxes we have.

I am looking for a command that will return the model number of a HP box.

Any help would be appreciated.

Thanks
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: Command to get Model number

Try uname -m.
If it ain't broke, I can fix that.
harry d brown jr
Honored Contributor

Re: Command to get Model number

Try the "model" command.
Live Free or Die
Bernie Vande Griend
Respected Contributor
Solution

Re: Command to get Model number

model | awk -F\/ '{ print $3 }'
Ye who thinks he has a lot to say, probably shouldn't.
Wodisch
Honored Contributor

Re: Command to get Model number

Hello Anthony,

"model" shows the name/string, "uname" shows the code/number, but currently there is NO command to show the *new* naming convention...

Just my $0.02,
Wodisch