converting linux_pslist and linux_memmap