在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:rs/jplot开源软件地址:https://github.com/rs/jplot开源编程语言:Go 100.0%开源软件介绍:jplotJplot tracks expvar-like (JSON) metrics and plot their evolution over time right into your iTerm2 terminal (or DRCS Sixel Graphics). Above capture is jplot monitoring a Go service's expvar:
By default, jplot uses the full size of the terminal, but it is possible to limit the render to a few rows: InstallUsing homebrew:
From source:
This tool does only work with iTerm2, or terminals support DRCS Sixel Graphics. UsageGiven the following JSON output:
You can graph the number of thread over time:
Or create a graph with both Utime and Stime growth rate on the same axis by using
Note: the Or create several graphs by providing groups of fields as separate arguments; each argument creates a new graph:
Spec SyntaxEach positional arguments given to jplot create a stacked graph with the specified values. To reference the values, use gojq JSON query syntax. Several value paths can be referenced for the same graph by using the In addition, each value path can be prefixed with options separated from the path by a column. Several options can be used for the same command by separating them with a comma like so: Supported options are:
RecipesMemstatsHere is an example command to graph a Go program memstats:
VegetaWith the help of jaggr can be used to integrate vegeta with jplot as follow:
Supported Terminals
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论