Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


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 !!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-25-2013
Registered User
 
Join Date: Oct 2011
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
Registered User
 
Join Date: Oct 2009
Location: spaceBAR Central
Posts: 298
Thanks: 0
Thanked 58 Times in 58 Posts
Try this:

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

Sponsored Links
    #3  
Old 01-28-2013
Registered User
 
Join Date: Oct 2011
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
Registered Geek
 
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,186
Thanks: 3
Thanked 23 Times in 22 Posts
Vendor would not be accomplished with a single command.

For other items, see


Code:
man uname

Sponsored Links
Reply

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 03:37 AM.