I hereby claim:
- I am tcooper on github.
- I am tkcooper (https://keybase.io/tkcooper) on keybase.
- I have a public key ASBaADSVfIxEcFe8fpZfb8B8hyFxR4yzPE0u27RFcEQ_Pwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Screen capture demonstrating running a Rocky 8 container running httpd in systemd via podman on a Rocky 8 VirtualBox virtual machine
#!/bin/sh | |
ROLL_VERS="$(rocks list roll | awk '/ yes/{print $1,$2}' | sed 's/://g')" | |
printf " roll ; version ; release ; date\n" | |
while IFS= read | |
do | |
roll=$(echo $REPLY | awk '{print $1}') | |
vers=$(echo $REPLY | awk '{print $2}') | |
printf "%14s ; " $roll; | |
roll_info=$(grep release /export/rocks/install/rolls/$roll/$vers/x86_64/roll-$roll.xml | sed 's,\t<info ,,g;s,/>,,g;s,",,g;s,version=,,g;s,release=,,g;s,arch=,,g;s,os=,,g' | awk '{print $1" "$2}') |
Bootstrap: docker | |
From: python:2.7.13 | |
%help | |
This container creates internal directories to bind HPC system locations to as | |
follows... | |
/pfs_data - The location of your high performance parallel file system data | |
/pfs_scratch - The location of your high performance parallel file system scratch |
#!/bin/bash | |
AWK=$(which awk) | |
CURL=$(which curl) | |
ECHO=$(which echo) | |
GREP=$(which grep) | |
SORT=$(which sort) | |
BASE="http://beta7.rocksclusters.org/isos" | |
ROLLS=$(${CURL} -s ${BASE}/ | ${AWK} -F\" '/iso\"/ {print $8}' | ${SORT} -u) |
#!/bin/sh | |
# Usage : Show queue utilization for running & pending jobs | |
E_INVALID_OPT=1 | |
usage() { echo "Usage: $0" 1>&2; exit 1; } | |
cleanup () { /bin/rm $_squeue_tmp; } | |
while getopts ":h" opt; do | |
case $opt in |
#!/bin/sh | |
EXPECTED_ARGS=2 | |
E_BADARGS=65 | |
if [ $# -ne $EXPECTED_ARGS ] | |
then | |
echo "Usage: `basename $0` {reservationname} {nodelist}" | |
exit $E_BADARGS | |
fi |
#!/bin/bash | |
# Original from: http://apple.stackexchange.com/a/146851 | |
# If you want to disable auto-imported functions, uncomment the following | |
#export ADD_IMPORT_FUNCTIONS_PATCH=YES | |
mkdir ~/bash-fix | |
cd ~/bash-fix | |
curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf - | |
cd bash-92/bash-3.2 |
#!/bin/bash | |
function summarize_for_pattern() { | |
LOG_PATTERN=$1 | |
#echo "128K IO - Streaming Write Bandwidth - 16 Initial Writers" | |
echo -e " Child" | |
echo -e " Min Max Avg Aggr Units" | |
echo -n "initial writers (bw): " | |
for val in Min Max Avg Children; | |
do |