소스 검색

gops: add page (#2933)

Ivan Aracki 6 년 전
부모
커밋
be144ad00b
1개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 24 0
      pages/common/gops.md

+ 24 - 0
pages/common/gops.md

@@ -0,0 +1,24 @@
+# gops
+
+> CLI tool which lists and diagnoses Go processes currently running on your system.
+> Homepage: <https://github.com/google/gops>.
+
+- 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}}`