An open API service indexing awesome lists of open source software.

https://github.com/melanmeg/monitoring_private-isu


https://github.com/melanmeg/monitoring_private-isu

isucon

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# prac-ansible-isu-templete

```
# mysql
mysql -u isuconp -pisuconp isuconp

# pprof
sudo /home/isucon/.local/go/bin/go tool pprof -http localhost:1080 cpu.pprof

# ssh port foward
ssh -N -L 0.0.0.0:19999:localhost:19999 x.x.x.x # netdata
ssh -N -L 0.0.0.0:1080:localhost:1080 x.x.x.x # pprof
ssh -N -L 0.0.0.0:3306:localhost:3306 x.x.x.x # mysql
ssh -N -L 0.0.0.0:8080:localhost:8080 x.x.x.x # grafana
ssh -N -L 0.0.0.0:9100:localhost:9100 x.x.x.x # node_exporter
ssh -N -L 0.0.0.0:3100:localhost:3100 x.x.x.x # fluent-bit
ps aux | grep ssh

# wipe ps
kill $(ps aux | grep 'ssh -N -L 0.0.0.0:19999:localhost:19999 x.x.x.x' | grep -v grep | awk '{print $2}')
kill $(ps aux | grep 'ssh -N -L 0.0.0.0:1080:localhost:1080 x.x.x.x' | grep -v grep | awk '{print $2}')
kill $(ps aux | grep 'ssh -N -L 0.0.0.0:3306:localhost:3306 x.x.x.x' | grep -v grep | awk '{print $2}')
ps aux | grep ssh
```