title: How to list pipes used by a process with a bash command
body: <p>Is there a  way to list pipes used by a running linux process (e.g. given its pid or process name) and to determine their used capacity?</p>
  
  <p>Something like:</p>
  
  <pre><code>lspipes -l -p pid
  </code></pre>
  
  <p>resulting in something like:</p>
  
  <pre><code>[rw]  descriptor  size  name
  </code></pre>
  
  <p>where rw is the pipe end type and size is its used capacity</p>
  
  <p>Or something similar</p>