How to get process