uname -i question (trying to find model)


 
Thread Tools Search this Thread
Operating Systems Solaris uname -i question (trying to find model)
# 1  
Old 03-16-2012
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
# 2  
Old 03-16-2012
Try
Code:
prtdiag | head -1

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 03-16-2012
Thank you! I will test this on the other machines i have but i think this command will work! Awesome
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

How to find Server model in Suse?

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 (6 Replies)
Discussion started by: shyam2j
6 Replies

2. HP-UX

Script to find what netprinters are configured with what model

Following this thread : https://www.unix.com/hp-ux/189023-solved-way-tell-printer-used-configured-print-queue.html This is rwuerth's nice contribution! I had a more complicated script written a long time ago to find out this information, but after realizing due to VBE's post (thank you VBE)... (0 Replies)
Discussion started by: rwuerth
0 Replies

3. Solaris

uname -a

bssmsrv223:/ 53 ] uname -a SunOS bssmsrv223 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V245 bssmsrv223:/ 54 ] what does 118833-36 denotes in Generic_118833-36 (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

4. Shell Programming and Scripting

Quick UNIX question - Assigning a word to $model

When the following is typed: /usr/platform/`uname -i`/sbin/prtdiag | awk '{print $7; exit}' ...the output I get back is either "X4150" or "X4170" when executed on a Sun Fire X4150 or X4170. ---But, may I ask how do I assign the variable $model to it? Because of the embedded backquotes, I... (3 Replies)
Discussion started by: chatguy
3 Replies

5. Solaris

uname help

hi all, Operating System Name : Unix Sun Solaris Operating system release level : 5.10 Operating system version : Generic_137111-06 i know the release level that is kernel version Generic_137111-06 what is number... (6 Replies)
Discussion started by: coxmanchester
6 Replies

6. Solaris

Solaris10 x86 - How to find out the CPU model and speed?

Please let me know if there is any way I can find out (either via command line or SMF) the following: 1.CPU model (eg. Pentium 4,Celeron) 2.CPU speed (eg. 1GHz) for this I could get the output through psrinfo -v, but still is there any other way? 3.Hard disk model (eg. Seagate). When I... (9 Replies)
Discussion started by: saagar
9 Replies

7. UNIX for Advanced & Expert Users

Command to find Hardware model in Solaris

Hi, I need a command to find the Hardware Model in Solaris 8,9,10,11. The command which I am using right now is: /usr/platform/`uname -i`/sbin/prtdiag The problem is in this output:- System Configuration: Sun Microsystems sun4u Netra T1 200 (UltraSPARC-IIe 500MHz) Here I am... (1 Reply)
Discussion started by: vineetd
1 Replies

8. Linux

Uname

what is the difference between uname -m and uname -i what it actually means (2 Replies)
Discussion started by: Dileepsp
2 Replies

9. AIX

uname -S

hi , i have made a mistake :( on the production enviourment by change tha host name . after that i returned back the old name. but i think this will not afeect the system until reboot the machine. laso i tried to telnet the syetem by the host name not by the IP address and it works fine. ... (2 Replies)
Discussion started by: habuzahra
2 Replies

10. UNIX for Advanced & Expert Users

Model script related question

Hey fellow bit pushers, I have been seeing an odd problem on a few of my systems and was wondering if any of you have seen it on your systems and possibly know why it happens. We have a custom model script for a printer on our systems. This model script is just a standard ksh script... (2 Replies)
Discussion started by: TioTony
2 Replies
Login or Register to Ask a Question