shitaibin.github.io icon indicating copy to clipboard operation
shitaibin.github.io copied to clipboard

Go官方进程诊断工具gops详解 | Go语言充电站

Open Shitaibin opened this issue 4 years ago • 0 comments

https://lessisbetter.site/2020/03/15/gops-introduction/

gops简介gops是Go团队提供的命令行工具,它可以用来获取go进程运行时信息。 可以查看: 当前有哪些go语言进程,哪些使用gops的go进程 进程的概要信息 进程的调用栈 进程的内存使用情况 构建程序的Go版本 运行时统计信息 可以获取: trace cpu profile和memory profile 还可以: 让进程进行1次GC 设置GC百分比 示例代码使用Options配置

Shitaibin avatar Mar 17 '20 05:03 Shitaibin