Tweaks to "watch-process-smaps" sample script