How to match and control specific processes

Match and control specific processes.