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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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