How to tell what role a process has