{"id":13438880,"url":"https://github.com/bcicen/grmon","last_synced_at":"2025-04-14T08:58:46.833Z","repository":{"id":37470597,"uuid":"122902103","full_name":"bcicen/grmon","owner":"bcicen","description":"Command line monitoring for goroutines","archived":false,"fork":false,"pushed_at":"2023-07-18T07:29:14.000Z","size":38,"stargazers_count":1903,"open_issues_count":4,"forks_count":58,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-07T01:11:39.179Z","etag":null,"topics":["cli","command-line","developer-tools","go","golang","top"],"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/bcicen.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,"governance":null}},"created_at":"2018-02-26T02:36:08.000Z","updated_at":"2025-03-19T08:51:47.000Z","dependencies_parsed_at":"2023-10-20T18:19:27.646Z","dependency_job_id":null,"html_url":"https://github.com/bcicen/grmon","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.022727272727272707","last_synced_commit":"63facda35286d33699cce96dbd74b675f9bfcc1d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fgrmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fgrmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fgrmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fgrmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcicen","download_url":"https://codeload.github.com/bcicen/grmon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852129,"owners_count":21171840,"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":["cli","command-line","developer-tools","go","golang","top"],"created_at":"2024-07-31T03:01:09.248Z","updated_at":"2025-04-14T08:58:46.804Z","avatar_url":"https://github.com/bcicen.png","language":"Go","readme":"# grmon\n\nCommand line monitoring for goroutines\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://bradley.codes/static/img/grmon.gif\" alt=\"grmon\"/\u003e\u003c/p\u003e\n\n## Install\n\n```bash\ngo get -u github.com/bcicen/grmon\n```\n\n## Usage\n\nSimply import and call `grmon.Start()` somewhere in your code:\n\n```go\nimport \"github.com/bcicen/grmon/agent\"\n...\ngrmon.Start()\n```\n\nalternatively, you may just start the pprof server directly:\n\n```go\nimport (\n\t\"net/http\"\n\t_ \"net/http/pprof\"\n)\n...\ngo http.ListenAndServe(\":1234\", nil)\n```\n\nnow `grmon` can connect to the running program:\n```bash\ngrmon\n```\n\nBy default, `grmon` will automatically refresh every 5s. Pause automatic refresh(`p`) to enable the cursor and expand the full trace for a selected goroutine(`\u003center\u003e`).\n\n### Keybindings\n\nKey | Action\n--- | ---\nr | manually refresh\np | pause/unpause automatic updates\ns | toggle sort column and refresh\nf | filter by keyword\n\\\u003cup\\\u003e,\\\u003cdown\\\u003e,j,k | move cursor position\n\\\u003center\\\u003e,o | expand trace under cursor\nt | open trace in full screen mode\nq | exit grmon\n\n### Options\n\nOption | Description | Default\n--- | --- | ---\n-i | time in seconds between refresh, 0 to disable | 5\n-host | target host | localhost:1234\n-endpoint\t| target endpoint path | /debug/pprof\n\n\n## Roadmap\n\n* Hierarchal/tree display\n","funding_links":[],"categories":["HarmonyOS","Misc","开源类库","Go","Open source library","Repositories","Concurrency"],"sub_categories":["Windows Manager","调试","Debugging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fgrmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcicen%2Fgrmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fgrmon/lists"}