{"id":18821625,"url":"https://github.com/octu0/dstat-graph","last_synced_at":"2025-04-14T00:32:42.669Z","repository":{"id":55890576,"uuid":"200689503","full_name":"octu0/dstat-graph","owner":"octu0","description":"Visualize dstat csv","archived":false,"fork":false,"pushed_at":"2020-12-09T07:08:15.000Z","size":116,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T05:36:21.114Z","etag":null,"topics":["chart","csv","dstat","graph","visualization"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/octu0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-05T16:15:32.000Z","updated_at":"2023-03-20T15:21:57.000Z","dependencies_parsed_at":"2022-08-15T08:40:55.638Z","dependency_job_id":null,"html_url":"https://github.com/octu0/dstat-graph","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octu0%2Fdstat-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octu0%2Fdstat-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octu0%2Fdstat-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octu0%2Fdstat-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octu0","download_url":"https://codeload.github.com/octu0/dstat-graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223612891,"owners_count":17173631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","csv","dstat","graph","visualization"],"created_at":"2024-11-08T00:44:55.567Z","updated_at":"2024-11-08T00:44:56.740Z","avatar_url":"https://github.com/octu0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `dstat-graph`\n\n[![MIT License](https://img.shields.io/github/license/octu0/dstat-graph)](https://github.com/octu0/dstat-graph/blob/master/LICENSE)\n[![GoDoc](https://godoc.org/github.com/octu0/dstat-graph?status.svg)](https://godoc.org/github.com/octu0/dstat-graph)\n[![Go Report Card](https://goreportcard.com/badge/github.com/octu0/dstat-graph)](https://goreportcard.com/report/github.com/octu0/dstat-graph)\n[![Releases](https://img.shields.io/github/v/release/octu0/dstat-graph)](https://github.com/octu0/dstat-graph/releases)\n\ngenerate png chart from dstat CSV file.  \ndata visualization using [go-chart](https://github.com/wcharczuk/go-chart)  \n(inspired by [dstat2graph](https://github.com/sh2/dstat2graphs))\n\n![cpu](https://github.com/octu0/dstat-graph/blob/master/examples/cpu.png?raw=true)  \n![net](https://github.com/octu0/dstat-graph/blob/master/examples/net.png?raw=true)  \n\n## Usage\n\noutput dstat csv using `dstat --output`\n\n```shell\n$ dstat -t --cpu --mem --disk --io --net --int --sys --tcp --output ./dstat.csv\n```\n\nload csv into `dstat-graph` (column filter with `-f` if necessary)\n\n```shell\n$ dstat-graph --csv ./dstat.csv -o cpu.png -f usr,sys,idl,wai\n```\n\nsee more [examples](https://github.com/octu0/dstat-graph/tree/master/examples).\n\n## Download\n\nLinux amd64 / Darwin amd64 binaries are available in [Releases](https://github.com/octu0/dstat-graph/releases)\n\n## Build\n\nBuild requires Go version 1.11+ installed.\n\n```shell\n$ go version\n```\n\nRun `make pkg` to Build and package for linux, darwin.\n\n```shell\n$ git clone https://github.com/octu0/dstat-graph\n$ make pkg\n```\n\n## Help\n\n```\nNAME:\n   dstat-graph\n\nUSAGE:\n   dstat-graph [global options] command [command options] [arguments...]\n\nVERSION:\n   1.0.0\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --csv value, -i value     /path/to/csv dstat csv path\n   --out value, -o value     output file path (if argument is empty, write to tmpfile for parse test)\n   --column value, -f value  pickup columns (defaults: plot all columns)\n   --chart value, -t value   chart-type 'line' or 'bar' (defaults: 'line') (default: \"line\")\n   --width value             image width (default: 600)\n   --height value            image height (default: 400)\n   --debug, -d               debug mode\n   --verbose, -V             verbose. more message\n   --help, -h                show help\n   --version, -v             print the version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctu0%2Fdstat-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctu0%2Fdstat-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctu0%2Fdstat-graph/lists"}