Used ps to get complete command