added diamond selfmon feature
Merge pull request #252 from rtoma/processmemory-selfmon

added diamond selfmon feature