Watch the linux performance and see the alarm if threshold crossed.
https://hub.docker.com/r/gauravds/goalarm
docker run -it gauravds/goalarm:1.0vmstat 1 | ./main or vmstat 1 | go run main.gogo run main.go -h or ./main -h
-c int
max threshold count to show panic (default 3)
-t int
max threshold (default 194700)
-w string
watch field (default "free")
cache alarm with threshold 2405736 and max attempt: 2-w=cache -t=2405736 -c=2
vmstat 1 | ./main -w=cache -t=2405736 -c=2
or
vmstat 1 | go run main.go -w=cache -t=2405736 -c=2
docker build . --no-cache -t gauravds/goalarm:1.0
docker push gauravds/goalarm:<tagname>
Content type
Image
Digest
Size
105.9 MB
Last updated
almost 5 years ago
docker pull gauravds/goalarm:1.0