driskell / log-courier

The Log Courier Suite is a set of lightweight tools created to ship and process log files speedily and securely, with low resource usage, to Elasticsearch or Logstash instances.
Other
419 stars 107 forks source link

How can I read cpuprofile output #333

Closed dkirrane closed 8 years ago

dkirrane commented 8 years ago

Hi,

I've created a profile file with the cpuprofile cli arg

Not familiar with Golang. Is there some Go tool I need to use to read it? Also, is there an option to monitor memory and network usage also? Or is this also included with cpuprofile

driskell commented 8 years ago

You can use the go tool pprof command.

Is there a specific issue you are investigating?

dkirrane commented 8 years ago

Thanks, no issue just want to profile cpu, memory, network usage under high log output. Maybe linux tools like top etc are a better option. cpuprofile arg is more for debugging I guess