Add 'ps_mem.py' utility