mirror of
https://github.com/google/gops.git
synced 2024-11-27 08:31:17 +02:00
reorg the help text
This commit is contained in:
parent
fa6968806c
commit
3fe5c6c719
8
main.go
8
main.go
@ -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.`
|
||||
|
Loading…
Reference in New Issue
Block a user