Command to get Vendor information on Solaris | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Command to get Vendor information on Solaris

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-25-2013
flagman5 flagman5 is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 31 January 2013, 11:12 AM EST
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Command to get Vendor information on Solaris

Hello

I know that prtdiag and prtconf both give the Vendor information on the first line, something like this:
System Configuration: Oracle Corporation sun4u Sun Fire V240

But is there a command that would ONLY output the vendor, so therefore in this example, it would only output Oracle Corporation?

Thanks in advance
Sponsored Links
    #2  
Old 01-25-2013
spacebar's Avatar
spacebar spacebar is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 2 June 2014, 3:23 PM EDT
Location: spaceBAR Central
Posts: 440
Thanks: 0
Thanked 70 Times in 70 Posts
Try this:

Code:
prtconf | head -1 | cut -d' ' -f4,5

Sponsored Links
    #3  
Old 01-28-2013
flagman5 flagman5 is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 31 January 2013, 11:12 AM EST
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
thanks for the workaround

but is there an actual single command?

what if the model came back to be a single field? say like this: System Configuration: Fujitsu sun4u Sun Fire V240, the workaround would pull in sun4u

Last edited by flagman5; 01-28-2013 at 01:58 PM..
    #4  
Old 01-29-2013
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
Vendor would not be accomplished with a single command.

For other items, see


Code:
man uname

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
prtdiag output for Solaris on Fujitsu hardware shows vendor as Sun Microsystems chattygk Solaris 8 09-25-2011 03:05 AM
How to get the Solaris system information? forumguest Solaris 15 09-21-2010 11:25 AM
vendor of physical host with Solaris OS epriya2003 UNIX for Dummies Questions & Answers 1 05-25-2010 07:13 PM
How to get Device id information on solaris 8 vikashtulsiyan Solaris 3 02-07-2008 04:57 AM



All times are GMT -4. The time now is 01:44 AM.