uname -i question (trying to find model)

Hello,

im trying to find the models of all the systems on my network. I am going to right a script to ssh in and execute the uname -i command. It works but doesnt tell me the model but rather something else. Is there a better command to get the model of your workstation?

Command using: uname -i

Try

prtdiag | head -1
1 Like

Thank you! I will test this on the other machines i have but i think this command will work! Awesome