Printing PICL information

The Solaris operating system comes with the picld daemon, which allows hardware specific data to be presented in a general way. When clients read data from a PICL implementation, they can be ensured that “temperature” (or any counter value for that matter) means the same thing across different hardware implementations. To print the PICL tree, you can use the prtpicl(1M) utiltiy:

$ prtpicl -v |more

  / (picl, 3800000001)
  :PICLVersion   1.100000 
  :_class        picl 
  :name  / 
     platform (upa, 3800000005)
      :PlatformGroup     sun4u 
      :OS-Version        Generic_118558-06 
      :OS-Release        5.9 
      :HostName  winnie 
      :OS-Name   SunOS 
      :device_type       upa 
      :banner-name       Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz) 
      :clock-frequency   0x4f64b50 
      :model     SUNW,375-0066 
      :energystar-v2
      :#size-cells       0x2 
      :breakpoint-trap   0x7f 
      :#address-cells    0x2 
      :#interrupt-cells  0x1 
      :interrupt-map-mask        00  00  00  3e  00  00  00  00  00  00  00  00 
      :interrupt-map    
 00  00  00  3c  00  00  00  00  00  00  00  00  f0  05  fa  24  80  00  00  33 
      :idprom   
 01  80  08  00  20  c0  f6  e9  00  00  00  00  c0  f6  e9  a9  00  00  00  00 
 00  00  00  00  00  00  00  00  00  00  00  00 
      :reset-reason      S-POR 
      :boot-retained-page
      :PAGESIZE  8192 
      :MMU_PAGESIZE      8192 
      :MMU_PAGEOFFSET    8191 
      :relative-addressing       1 
      :pm-hardware-state         no-suspend-resume 
      :devfs-path        / 
      :driver-name       rootnex 
      :binding-name      SUNW,Ultra-5_10 
      :bus-addr   
      :instance  -1 
      :PlatformName      SUNW,Ultra-5_10 
      :_class    upa 
      :name      platform 
         memory (memory, 38000000c4)
          :Size  0x40000000 
          :UnitAddress   0,0 
          :available    
     [ ... ]

I find myself using this all the time to find a wide variety of information. Nifty utility!

Leave a Reply

Your email address will not be published. Required fields are marked *