example tool to report stack size on linux

also use env var for testing changing the stack size