By user9148476 on Jul 07, 2010
# ./topomaps.d -c /usr/lib/fm/fmd/fmtopo 2>/dev/null | grep Map Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-legacy-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chip-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chassis-hc-topology.xml \^C
Now, I did say a pair of dtrace scripts. topomaps.d is the first script, which calls a second script topomapmon.d that ultimately traces the calls to topo_xml_read(). Two scripts are required to deal with the dynamic loading done by fmtopo. Anyway, drop both in the same directory and run with sufficient privileges and you should be good to go.