Skip to content

Instantly share code, notes, and snippets.

while [ 1=1 ]
do
echo $(sysbench --test=cpu --max-time=2 run | egrep "total number of events") -- $(date +%H:%M:%S)
done
nc -zw3 {HOST} {PORT} && echo "opened" || echo "closed"
{
"Ansi 6 Color" : {
"Green Component" : "0.5960785",
"Red Component" : "0.02352941",
"Blue Component" : "0.6039215999999999"
},
"Tags" : [
],
"Ansi 12 Color" : {
@eturan
eturan / docker-compose.yml
Created May 13, 2019 15:20
docker-compose for local KONG setup with dashboard
version: '3.7'
networks:
kong_network:
name: kong_network
services:
kong-database: