gops is a command to list and diagnose Go processes currently running on your system. For processes that starts the diagnostics agent, gops can report additional information such as the current stack trace, Go version, memory stats, etc. You could set GOPS_CONFIG_DIR environment variables to assign your config dir. Default, gops will use the current user's home directory(AppData on windows). It is possible to use gops tool both in local and remote mode. Local mode requires that you start the target binary as the same user that runs gops binary. To use gops in a remote mode you need to know target's agent address. In Local mode use process's PID as a target; in Remote mode target is a host:port combination. gops supports CPU and heap pprof profiles. After reading either heap or CPU profile, it shells out to the go tool pprof and let you interactively examine the profiles.

Features

  • gops allows you to start the runtime tracer for 5 seconds and examine the results
  • gops supports CPU and heap pprof profiles
  • gops reports the Go version the target program is built with
  • It lists and diagnoses Go processes currently running on your system
  • It is possible to use gops tool both in local and remote mode
  • In Local mode use process's PID as a target

Project Samples

Project Activity

See All Activity >

Categories

System

License

BSD License

Follow gops

gops Web Site

Other Useful Business Software
Save Up to 91% on Cloud Compute With Spot VMs Icon
Save Up to 91% on Cloud Compute With Spot VMs

Automatic sustained-use discounts. One free VM per month. No negotiation needed.

Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gops!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go System Software

Registered

2021-10-11