Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ajermakovics committed Apr 30, 2020
1 parent 5eb679e commit c9164b1
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions jvm-mon-go/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
# jvm-mon

JVM monitoring from the terminal (cpu, memory, threads).
Single executable written in Go and Java.
Supports monitoring application running on Java 8 and newer.

# Build
- Single Go executable
- Contains embedded Java agent that gets loaded into monitored application
- Does not require a JDK to run

# Build from source

Prerequisites:
- Go (at least 1.13)
- https://github.com/Masterminds/glide for dependency management.
- https://github.com/GeertJohan/go.rice for embedded files
- JDK 8+ for building java agent

1. Build java agent: `./gradlew jar`
2. Install Go dependencies:
```
glide update
glide install
```
3. `go build`
1. Build everything: `./build.sh`
2. `./run.sh`:

# Usage

Expand All @@ -34,6 +31,5 @@ They communicate via a socket to send/receive JVM metrics in json format.
# Development

Run jvm-mon from Go sources: `./run.sh`
Run a java process: `./agent.sh`

See `log` file for debugging output

0 comments on commit c9164b1

Please sign in to comment.