Dev/mem stats

- display cpu+mem stats
- fix issue #29