Non-Invasive goroutine inspector
Overview
what is Go Process Inspector?
Go Process Inspector (gospy) is a non-invasive tool designed for inspecting and analyzing running Go processes, providing insights into goroutine states, memory statistics, and binary information.
how to use Go Process Inspector?
To use gospy, install it via Go and run commands in the terminal to inspect processes. You can also access its HTTP API for programmatic interactions.
key features of Go Process Inspector?
- View detailed goroutine information including status and scheduling info.
- Analyze process memory statistics.
- Cross-platform support for Linux and macOS.
- Interactive terminal UI for real-time inspection.
- HTTP API for programmatic access, including SSE endpoint for MCP server.
use cases of Go Process Inspector?
- Monitoring and debugging Go applications in production.
- Analyzing memory usage and performance bottlenecks.
- Inspecting goroutine states to identify deadlocks or performance issues.
FAQ from Go Process Inspector?
- Is gospy free to use?
Yes! gospy is open-source and free to use under the MIT license.
- What are the system requirements?
gospy requires Go 1.20+, and it runs on Linux or macOS with root privileges for memory access.
- How can I install gospy?
You can install gospy using the command:
go install github.com/monsterxx03/gospy@latest.