bcicen / grmon Goto Github PK
View Code? Open in Web Editor NEWCommand line monitoring for goroutines
License: MIT License
Command line monitoring for goroutines
License: MIT License
Using macos iterm2 with grmon latest, but there is no hightlighting for selected goroutine.
Besides that everything works great, and I managed to find a goroutine leak after using grmon for 3 minutes.
Great tool!
Why can't grmon not just parse the output of /debug/pprof/goroutine?debug=1
?
This would make things a lot easier as the program you want to monitor doesn't have to add another dependency.
When running grmon
I'm getting this error. Any ideas why this is happening?
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1385f7c]
goroutine 1 [running]:
main.ReadRoutines(0xc000228000, 0xa1, 0x200, 0x10, 0xff, 0x0, 0x0, 0x0)
/Users/me/go/src/github.com/bcicen/grmon/parse.go:76 +0x19c
main.poll(0x105a2f0, 0x0, 0xc0000f9ec0, 0xc0001ae000, 0x0)
/Users/me/go/src/github.com/bcicen/grmon/client.go:38 +0x17c
main.Refresh()
/Users/me/go/src/github.com/bcicen/grmon/main.go:38 +0x26
main.main()
/Users/me/go/src/github.com/bcicen/grmon/main.go:202 +0xe7
i'm running Kubernetes and try to figure out which goroutine / what code consumes most cpu time.
My first impulse (right after, I could have really used this 3 weeks ago lol) is to "Yuck dep" but instead...
if you put cli in cmd/grmon
One could simply
go get github.com/bcicen/grmon
go install github.com/bcicen/grmon/cmd/grmon
No make or dep required (turns out I don't have dep installed, and I'm happy with that state of affairs ๐ )
You could still have a makefile and use dep, but the cmd/executable is more idiomatic
Possibly a terminal mismatch issue, not sure yet, but the movement keys aren't working for me. I can hit 't' and get the trace for the item, but I can't really see which item I've selected.
Neat tool!
We want to add this tool into hd-home which is a GitHub release asset tool. But there's no release found.
Platform: mac os
Terminal: Iterm2
Error Msg:
% make install
make build
dep ensure
make[1]: dep: No such file or directory
make[1]: *** [build] Error 1
make: *** [install] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.