title: How to determine Stack size of a Program in linux?
body: <p>How does one determine the current stack size of a program in linux?</p>
  
  <p>it is said that the stack size of each program will be 8 MB in linux but when you use 
  cat /proc//mmap it shows a different size.</p>
  
  <p>Also, how does one determine stack size of associated threads? Since it is said that threads have their own private stack?</p>