grmonCommand line monitoring for goroutines
grmon
Command line monitoring for goroutines
Install
go get -u github.com/bcicen/grmon
Usage
Simply import and call grmon.Start()
somewhere in your code:
import "github.com/bcicen/grmon/agent"
...
grmon.Start()
alternatively, you may just start the pprof server directly:
import (
"net/http"
_ "net/http/pprof"
)
...
go http.ListenAndServe(":1234", nil)
now grmon
can connect to the running program:
grmon
By default, grmon
will automatically refresh every 5s. Pause automatic refresh(p
) to enable the cursor and expand the full trace for a selected goroutine(<enter>
).
Keybindings
Key | Action |
---|---|
r | manually refresh |
p | pause/unpause automatic updates |
s | toggle sort column and refresh |
f | filter by keyword |
<up>,<down>,j,k | move cursor position |
<enter>,o | expand trace under cursor |
t | open trace in full screen mode |
q | exit grmon |
Options
Option | Description | Default |
---|---|---|
-i | time in seconds between refresh, 0 to disable | 5 |
-host | target host | localhost:1234 |
-endpoint | target endpoint path | /debug/pprof |
Roadmap
- Hierarchal/tree display
评论
Acadock Monitoring
AcadockMonitoring是一个用来监控Docker容器的工具。该Web服务提供Docker容器的即时数据显示,通过从Linux内核控制组以及容器的命名空间获取数据,并通过HTTPAPI输出数
Acadock Monitoring
0
Percona Monitoring Plugins
PerconaMonitoringPlugins是一个高质量的组件为MySQL数据库添加企业级的监控和图表功能,另外该插件可以和Nagios或者是Cacti等监控系统的集成。
Percona Monitoring Plugins
0
System Monitoring CenterLinux 系统资源监控器
SystemMonitoringCenter是基于GTK3和Python3的系统性能和使用监控工具。特性:详细的系统性能和使用情况监控/管理功能:监控CPU、RAM、磁盘、网络、GPU、传感器硬件信息
System Monitoring CenterLinux 系统资源监控器
0
S.M.A.R.T. Monitoring Tools磁盘检测工具
smartmontools 包含一些用来监控和控制磁盘的工具,该工具可以分析支持 S.M.A.R.T
S.M.A.R.T. Monitoring Tools磁盘检测工具
0
S.M.A.R.T. Monitoring Tools磁盘检测工具
smartmontools包含一些用来监控和控制磁盘的工具,该工具可以分析支持S.M.A.R.T.的ATA或者SCSI存储磁盘,检查其可靠性并预测磁盘错误。mansmartd.confmansmart
S.M.A.R.T. Monitoring Tools磁盘检测工具
0
s-tuiTerminal-based CPU stress and monitoring utility
The Stress Terminal UI: s-tuiStress-Terminal UI, s
s-tuiTerminal-based CPU stress and monitoring utility
0