title: OSGi console commands to list all bundles with unsatisfied constraints?
body: <p>Currently to find problems with my OSGi framework, I use <code>ss</code> to list all bundles, see which of them are just <code>INSTALLED</code> and not <code>RESOLVED</code>, and run <code>diag &lt;num&gt;</code> for each number of unresolved bundle. There are problems with this approach:</p>
  
  <ol>
  <li><p>Can't list <em>only</em> <code>INSTALLED</code> bundles, so I need to find them manually.</p></li>
  <li><p>Some of the bundles won't be resolved because of dependencies on each other, so I get a lot of duplicate information.</p></li>
  </ol>
  
  <p>What is a better way to do it?</p>