smaps Script and a library to compute memory usage of a process due to mmap (using /proc/<pid>/smaps) How to Use go run main.go --help