title: How to find out the number of threads a process is using on Solaris?
body: <p>I know the pid of the process. <code>top -H -p &lt;pid&gt;</code> works on Linux, but I am not able to get it running on Solaris:</p>
  
  <pre><code>$ top -H -p 3677
  /usr/local/packages/top/bin/top-default: illegal option -- H
  Top version 3.5beta7
  Usage: top-default [-ISbinqu] [-d x] [-s x] [-o field] [-U username] [number]
  $ top -p 3677
  /usr/local/packages/top/bin/top-default: illegal option -- p
  Top version 3.5beta7
  Usage: top-default [-ISbinqu] [-d x] [-s x] [-o field] [-U username] [number]
  </code></pre>
  
  <p>What are the options that I have to find the number of threads a process is using on Solaris?</p>
  
  <pre><code>$ uname
  SunOS
  $ 
  </code></pre>