# Collect information about goroutines of the agent processes
Description
You can obtain the profile of goroutines of the agent processes from the host.
Statement
curl -s --unix-socket ${ocp.agent.home.path}/run/ocp_monagent. $(cat ${ocp.agent.home.path}/run/ocp_monagent.pid).sock http://unix-socket-server/debug/pprof/goroutine?debug=1
Purpose
The collected profile contains the stack information of all goroutines of the current process. The information can be displayed in readable text. We recommend that you contact OceanBase Cloud Platform (OCP) Technical Support for assistance.