dnuma: add stats printing script.