I hereby claim:
- I am squizzi on github.
- I am squizzi (https://keybase.io/squizzi) on keybase.
- I have a public key ASD0kS49KU_989cxxqdYwhle5rc4NEpFgcLuUsxlJiR8rAo
To claim this, I am signing this object:
| ## Diagnostic data capture for Docker services and their associated tasks | |
| ## Run where client bundle is loaded or on a swarm manager | |
| ## Use something like: | |
| ## docker service ps $each | grep -v 'ID' | awk '{print $1 " " $6}' | egrep -i 'failed|running' | awk '{print $1}'; | |
| ## to grep out specific states within TASK_ID | |
| ## --- | |
| # Create a directory to store this data in | |
| DIRECTORY="$(pwd)/docker-service-info/" | |
| mkdir -p $DIRECTORY |
| #!/bin/bash | |
| ## capture-host-performance | |
| ## Maintainer: Kyle Squizzato - [email protected] | |
| ## Simple tool to capture performance statistics around a daemon log match. | |
| ## Only supports distros using journalctl at this time. | |
| ## Fill in each of the variables in the SETUP section then invoke the script | |
| ## and wait for the issue to occur, the script will stop on it's own when |
| /* Monospace fonts across case comments and case fields */ | |
| .caseTab .tertiaryPalette, | |
| .individualPalette .caseBlock .tertiaryPalette, | |
| .layoutEdit .individualPalette .caseBlock .tertiaryPalette { | |
| background-color: #36a0fe; | |
| border-color: #015ba7; | |
| } | |
| .caseTab .primaryPalette, | |
| .individualPalette .caseBlock .primaryPalette { | |
| background-color: #1797c0; |
| #!/usr/bin/env python | |
| import os | |
| from subprocess import Popen | |
| """ | |
| Notify users via notify-send in gnome-shell, if sending an error use is_error=True | |
| Edit service_title with the desired title notify-send will use when sending msg | |
| """ | |
| def notify_msg(msg, service_title="Your service here", is_error=False): | |
| # Determine which level we should write to |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # Copyright (C) 2017, Kyle Squizzato <[email protected]> | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or | |
| # (at your option) any later version. | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |