Much of this information has been available in a di_init(3DEVINFO)
snapshot for a long time. The missing size/serial# stuff should
be in snv_69/s10u5 per 6572672 delivery of

  SCSI inquiry property enhancement
  http://opensolaris.org/os/community/arc/caselog/2007/329/

  Device Size Properties
  http://opensolaris.org/os/community/arc/caselog/2007/339/

Look in "Mail Folder". The man page changes associated with these
cases (6573023) has not delivered, I will check on why.

Does that cover all your needs?

-Chris

Richard Elling wrote:
> sysinfo isn't very sophisticated.  It might be easier just to fix it.
> 
> What will be harder is the reality of modern systems which are
> hiding hardware details from the OS, otherwise known as
> virtualization.
>  -- richard
> 
> Alexey M. Akopyan wrote:
> 
>>Hi all,
>>
>>I just want to detail a bit. Our team works on Common Hardware 
>>Database project for Java SE Quality organization and we use agent 
>>based approach for picking up hardware information. This agent relied 
>>on the third party utility 'sysinfo' which works only for Solaris up 
>>to version 9. We look for reliable way to automatically pick the 
>>following set of data about in-box storage devices:
>>   1. Type (to distinguish between HDD, CD, DVD, and floppies)
>>   2. Size for HDD
>>   3. Vendor
>>   4. Model
>>   5. Serial number if possible
>>As Shannon wrote we tried a few tools but looks like the information 
>>we seek is distributed over output of different tools. Chances are 
>>high that we just don't know about the proper tool so we are seeking 
>>your help.
>>
>>Thanks a lot in advance,
>>-AMA
>>
>>Shannon Fiume wrote:
>>
>>>Hi,
>>>
>>>What's the correct interface to finding out hardware information on a 
>>>s10/opensolaris system? I've seen hardware type information in 
>>>prtdiag, smbios, kstat, iostat -En, modinfo, cfgadm and by combing 
>>>the device tree. Say for instance I want to know if a cdrom is device 
>>>blah on a system or how do I know what it's named, if the kernel 
>>>knows it's present, has attached a driver if necessary and is usable 
>>>to Solaris?
>>>
>>>If I wanted to check if an crypto card is present, I'd check if the 
>>>device was seen in the device tree, the kernel module was loaded in 
>>>Solaris and check kstat, run cfgadm and prtdiag to also see the card 
>>>and has no errors. Is there something I'm missing, is there something 
>>>easier to use? Also what about SNMP mibs?
>>>
>>>Thanks,
>>>~~sa
>>>
>>
>>_______________________________________________
>>fm-discuss mailing list
>>fm-discuss at opensolaris.org
>>  
> 
> 
> _______________________________________________
> fm-discuss mailing list
> fm-discuss at opensolaris.org


Reply via email to