Changed MYRES in watchpidmem to use ps so will work on OS too