From be144ad00beb79b24a9409aeb976f2d9147ef307 Mon Sep 17 00:00:00 2001 From: Ivan Aracki Date: Fri, 19 Apr 2019 01:19:09 +0200 Subject: [PATCH] gops: add page (#2933) --- pages/common/gops.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/gops.md diff --git a/pages/common/gops.md b/pages/common/gops.md new file mode 100644 index 0000000000..d924aa4736 --- /dev/null +++ b/pages/common/gops.md @@ -0,0 +1,24 @@ +# gops + +> CLI tool which lists and diagnoses Go processes currently running on your system. +> Homepage: . + +- Print all go processes running locally: + +`gops` + +- Print more information about a process: + +`gops {{pid}}` + +- Display a process tree: + +`gops tree` + +- Print the current stack trace from a target program: + +`gops stack {{pid|addr}}` + +- Print the current runtime memory statistics: + +`gops memstats {{pid|addr}}`