title: Monitoring the number of threads running on kubernetes PODS
body: <p>I have a use case where we need monitor the threads inside our pods, by using &quot;kubectl top&quot; i am able to monitor CPU, MEMORY.I am new to kubernetes and need to monitor the threads inside our pods.</p>
  <pre><code>NAME                   CPU(cores)   CPU%      MEMORY(bytes)   MEMORY%
  ip-XXX.ec2.internal    222m         11%       3237Mi          41%
  ip-YYY.ec2.internal    91m          9%        2217Mi          60%
  </code></pre>