- Mass submodule rename https://gist.github.com/renoirb/45773fa03b1c717e4e72
- Apache WatchDog https://gist.github.com/renoirb/0601115cfbe10284e3da
- Create MariaDB/MySQL self-signed SSL certificates through Salt https://gist.github.com/WebPlatformDocs/dee3c76a88b3c44da564
- mysql-replication-slave-reset.sh https://gist.github.com/renoirb/031667fa19062c773de5
- Bash useful and neat snippets https://gist.github.com/renoirb/361e4e2817341db4be03b8f667338d47
- aliases.fish https://gist.github.com/renoirb/7187ab42fc534bc14d3f12092abdb2f6
- SETUP_NEW_MAC.md Secret https://gist.github.com/renoirb/8ae3cb9519d6ecac2f08872a53fb1488
- https://gist.github.com/WebPlatformDocs/01c09df78f05612c281f
- https://gist.github.com/WebPlatformDocs/46fd83e3d198b96a6e0f
- https://gist.github.com/renoirb/021ce8870e499a69bd846e3be0578ddb
- https://gist.github.com/renoirb/0f6be00aa80d2a769abc85526f987bf8
- https://gist.github.com/renoirb/11258261
- https://gist.github.com/renoirb/1bb657299c0a339314f59fa5de6d9c60
- https://gist.github.com/renoirb/37f22e45364c9e821dc32ff36cc1e8fc
- https://gist.github.com/renoirb/3cc6c8c01b07d286585b776a41ab32ea
- https://gist.github.com/renoirb/4e52d93949cf2d049556
- https://gist.github.com/renoirb/59ccd62895e48efd1fb4880b0d0fe7cc
- https://gist.github.com/renoirb/5f46920242dee15f2059
- https://gist.github.com/renoirb/5f7258437937da7d2911db7b243280a7
- https://gist.github.com/renoirb/614f9cdf68aa70af0b17b4fb321e9ed0
- https://gist.github.com/renoirb/74025f7daf1e8160b6ea
- https://gist.github.com/renoirb/788885978f7dd504ee66
- https://gist.github.com/renoirb/7bd9c7584a63bb0f753a
- https://gist.github.com/renoirb/7d9d8079aff00304254277004078a842
- https://gist.github.com/renoirb/89b9fce3ab41dc08002a806e926d9282
- https://gist.github.com/renoirb/9923697
- https://gist.github.com/renoirb/9f92e493c190413803ba0bd936c39e6a
- https://gist.github.com/renoirb/a379d721a6f54d9ea83b
- https://gist.github.com/renoirb/af8f738f2fd16ca1eb27
- https://gist.github.com/renoirb/b23b131d9ea2a8d8a007205c854336fc
- https://gist.github.com/renoirb/b2e0222ad52e5d453298
- https://gist.github.com/renoirb/cb14d162aa5ce4e98b141f286b90f490
- https://gist.github.com/renoirb/d12fa317e7c8bd5ea777
- https://gist.github.com/renoirb/d38466ceddae2f1eb7e6
- https://gist.github.com/renoirb/de501adc1164e9fec47b257d6ee2a2ff
- https://gist.github.com/renoirb/e3f521b730dd07411b59
- https://gist.github.com/renoirb/e9ae61ea30d5c554c8318cad5cff13a5
- https://gist.github.com/renoirb/e9e9d72b64318b338bca87cf3e297617
- https://gist.github.com/renoirb/f4f0bd228a489bac6f08
- https://gist.github.com/renoirb/fa985b8a6bdc4b8608d05240f98f5adc
Last active
March 25, 2020 12:59
-
-
Save renoirb/fa985b8a6bdc4b8608d05240f98f5adc to your computer and use it in GitHub Desktop.
Renoir's previously shared bash scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
hash docker 2>/dev/null || { echo >&2 "Docker is not installed. This helper will not work. Aborting."; exit 1; } | |
echo 'Sysdig utility' | |
echo '--------------' | |
echo 'Some commands to try things out' | |
echo ' sysdig -pc -A -c echo_fds fd.port=80 and evt.buffer contains GET' | |
echo ' sysdig -pc -A -c echo_fds fd.port=8080 and evt.buffer contains rbaccess and not evt.buffer contains olb' | |
echo ' sysdig -pc -A -c echo_fds fd.port=8080' | |
echo ' sysdig -c httplog fd.sip=172.22.72.7' | |
echo ' sysdig -pc -A proc.name=php-fpm7' | |
echo ' sysdig -cl' | |
echo ' sysdig -c lscontainers' | |
echo '' | |
echo 'Legend:' | |
echo ' -pc: is for telling to make output container friendly' | |
echo ' -A: is fo making sure output we see is ASCII' | |
echo ' -cl: is to list available Chisels (selectors)' | |
echo '' | |
echo 'See also:' | |
echo ' - https://github.com/draios/sysdig/wiki/Chisels-User-Guide' | |
echo ' - https://github.com/draios/sysdig/wiki/Sysdig-Chisel-API-Reference-Manual' | |
echo ' - https://github.com/draios/sysdig/wiki/Sysdig-User-Guide' | |
echo ' - https://github.com/draios/sysdig/wiki/Container-Enabled-Chisels' | |
echo ' - https://github.com/draios/sysdig/wiki/Sysdig-Examples#networking' | |
echo ' - https://github.com/draios/sysdig/wiki/Sysdig-Quick-Reference-Guide' | |
echo ' - https://www.sysdig.org/wiki/sysdig-examples/' | |
echo ' - https://wiki.mikejung.biz/Sysdig' | |
echo '' | |
echo 'Useful articles:' | |
echo ' - https://www.2daygeek.com/sysdig-linux-system-diagnostic-monitor-troubleshoot-tool' | |
echo ' - https://sysdig.com/blog/decode-your-http-traffic-with-sysdig' | |
echo '' | |
docker run -it --rm --privileged=true --volume=/usr/bin/docker:/usr/bin/docker --volume=/var/run/docker.sock:/host/var/run/docker.sock --volume=/dev:/host/dev --volume=/proc:/host/proc:ro --volume=/boot:/host/boot:ro --volume=/lib/modules:/host/lib/modules:ro --volume=/usr:/host/usr:ro sysdig/sysdig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment