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
# Change prefix key to Ctrl+a | |
unbind C-b | |
set -g prefix C-a | |
# send the prefix to client inside window | |
bind-key C-b send-prefix | |
# Last active window | |
unbind l | |
bind C-a last-window |
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/sh | |
echo "Enter zone to cycle ksk for :" | |
read ZONE | |
KEYID=$(sudo ods-ksmutil key export --zone $ZONE --keystate ready --ds | awk '{print $5}') | |
sudo ods-ksmutil key ds-seen -z $ZONE -x $KEYID |
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
Target[host_temp]: 1.3.6.1.4.1.14988.1.1.3.10.0&1.3.6.1.4.1.14988.1.1.3.10.0:community@IP: | |
AbsMax[host_temp]: 100 | |
MaxBytes[host_temp]: 100 | |
Title[host_temp]: Temperature for moorhen | |
Options[host_temp]: gauge,growright,nopercent,noo,expscale | |
YLegend[hos5_temp]: Celcius | |
#YTicsFactor[host_temp]: 0.1 | |
#Factor[host_temp]: 0.1 | |
ShortLegend[host_temp]: oC | |
LegendI[host_temp]: Temperature   |
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/sh | |
# Graph builder script | |
if [ ! $1 ]; then | |
echo "Enter output file (blank to output to pwd): " | |
read OUTPUTFILE | |
echo "Enter graph label: " | |
read GRAPH_LABEL |
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/sh | |
# Graph builder script | |
if [ ! $1 ]; then | |
echo "Enter output file (blank to output to pwd): " | |
read OUTPUTFILE | |
echo "Enter graph label: " | |
read GRAPH_LABEL |
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
#!/usr/bin/env python | |
# Try to determine how much RAM is currently being used per program. | |
# Notes: | |
# | |
# All interpreted programs where the interpreter is started | |
# by the shell or with env, will be merged to the interpreter | |
# (as that's what's given to exec). For e.g. all python programs |