Get state for each process and list running processes