1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00

reorg the help text

This commit is contained in:
Jaana Burcu Dogan 2017-01-19 18:50:59 -08:00
parent fa6968806c
commit 3fe5c6c719

View File

@ -24,17 +24,17 @@ const helpText = `Usage: gops is a tool to list and diagnose Go processes.
gops cmd <pid> See the commands below.
Commands:
gc Runs the garbage collector and blocks until successful.
stack Prints the stack trace.
memstats Prints the garbage collection stats.
gc Runs the garbage collector and blocks until successful.
memstats Prints the allocation and garbage collection stats.
version Prints the Go version used to build the program.
stats Prints the vital runtime stats.
help Prints this help text.
Profiling commands:
pprof-heap Reads the heap profile and launches "go tool pprof".
pprof-cpu Reads the CPU profile and launches "go tool pprof".
help Prints this help text.
All commands require the agent running on the Go process.
Symbol "*" indicates the process runs the agent.`