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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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