I've committed an initial pass at trying to make a consistent "inspect" command for pre-/post-OSGi R4.3. It basically works like this:
inspect ('capability' | 'requirement') <namespace> [<bundles>]
For pre-OSGi R4.3 the namespaces are: bundle, package, host, service.
For post-OSGi R4.3 the namespaces are: osgi.wiring.bundle, osgi.wiring.package, osgi.wiring.host, service (non-standard), or any arbitrary namespace string.
It is possible to abbreviate 'capability' or 'requirement' and <namespace> supports wildcards. So, for example:
inspect cap *
Will print out all capabilities of every namespace for every bundle.
I still have to modify the command to properly detect if it is running on R4.3 or not...currently it assumes R4.3.