https://github.com/go-delve/delve
Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.
-
https://golang.cafe/blog/golang-debugging-with-delve.html++++++++++++++++++++++
Version avec interface cmd
++++++++++++++++++++++
Prérequis :
pip install pudb
Pour docker, dans le docker compose ajouter
stdin_open: true
tty: true
Faire docker attach container_name
Comment break/debug :
Là où on veut break, il suffit de coller cette ligne : import pudb; pu.db
Dans le terminal où on a fait docker attach on doit voir l'interface de pudb
++++++++++++++++++++++
Version + simple
++++++++++++++++++++++
Prérequis : python 3.7
Pour docker, dans le docker compose ajouter
stdin_open: true
tty: true
Faire docker attach container_name
Comment break/debug :
breakpoint()
Dans le terminal où on a fait docker attach on doit voir un prompt
On peut print les variables
"continue" pour continuer
-
https://links.infomee.fr/?lTcZoAopenssl s_client -connect www.cyberciti.biz:443
-
https://www.cyberciti.biz/tips/debugging-ssl-communications-from-unix-shell-prompt.htmlPas mal de drop udp du à des pics de metric applicatives.. On veut savoir quelles sont ces metrics sans se taper tous les graphs :
On laisse tourner et on attend un pic. Ensuite : sort -r -n -k 2 debug pour voir les metrics en cause
-
https://links.infomee.fr/?3gJL7wOk donc cet article m'a été vraiment utile.. à garder en cas d'autres problèmes avec ES
for shard in $(curl -XGET http://localhost:9200/_cat/shards | grep UNASSIGNED | awk '{print $2}'); do
curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
"commands" : [ {
"allocate" : {
"index" : "t37",
"shard" : $shard,
"node" : "datanode15",
"allow_primary" : true
}
}
]
}'
sleep 5
done
-
https://t37.net/how-to-fix-your-elasticsearch-cluster-stuck-in-initializing-shards-mode.html
-
https://puppetlabs.com/blog/sysadvent-so-server-tell-me-about-yourself-intro-facter-osquery-sysdig?ls=social-media&ccn=twitter-product-20141222&cid=701G0000000F68PLiME
Draugr
Volatilitux
Memfetch
Crash utility from Red Hat, Inc
Memgrep
Memdump
foriana
-
http://www.cyberciti.biz/programming/linux-memory-forensics-analysis-tools/Comment changer la couleur de fond de la ligne en cours de debug
How to change highlight color in debug eclipse
-
http://stackoverflow.com/questions/211500/eclipse-where-to-change-the-current-debug-line-background