Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
#
# See the slurm.conf man page for more information.
#
SlurmUser=slurm
#SlurmdUser=root
SlurmctldPort=6817
SlurmdPort=6818
AuthType=auth/munge
#JobCredentialPrivateKey=
#!/bin/bash
shopt -s extglob
awk 'FNR==1{print ""}1' posts/*AHNS* > AHNS.txt
awk 'FNR==1{print ""}1' posts/*J* > J.txt
awk 'FNR==1{print ""}1' posts/!(*AHNS*|*J*) > US.txt
for i in AHNS US J
#for i in US J
David Thompson <theta@theta-ent.com>
Gerard Cannie <jcannie@opticaltech.com>
Ido Ben-David <dgntcom@netvision.net.il>
Semantix <xsSupport@semantix.com>
Yochai Cohen <yochai@combox.co.il>
<DaveBelliveau@cornerstonesoftware.com>
<Dmitry_Krasnonosenkih@nmss.com>
<Jean-Christophe_Desire@NMS-Europe.com>
<achatterjee@freeway.proxy.lucent.com>
<bwarijsman@lucent.com> - SONET Contact
deaccession 2024-02
working north
casual lex
a blink of the screen
tebbits
of two minds
revolutionary dreams
gone with the wind
evolution of technolgoy
$ cat compare-node-memory
#!/bin/bash
{
echo -e "Node\tSLURM\tActual\tpct"
for n in 1 2; do
NODE=mickey-node$n
# Get Allocated Memory from SLURM in MB and convert to GB
ALLOC_MEM_MB=$(scontrol show node $NODE | grep 'AllocMem' | awk '{print $2}' | sed 's/AllocMem=//')
ALLOC_MEM_GB=$(echo "$ALLOC_MEM_MB/1024" | bc)
"Hole Foods" store. Donuts, bagels, Cheerios, pretzels, mac and cheese, pineapple rings, Life Savers
"Interrobang", OKCupid clone for grammarians
$590 bike wheel with apps
$60 IPHONE DICK
$600 shoes made of pretty much paper
'A Modest Proposal' family restaurant
.Hz .o, .Hz .m, .Hz .k, .Hz .n
1 month a year people get drafted to do menial labour
1) you have something to say 2) you blog about it 3) PROFIT
1-bit router
"Hole Foods" store. Donuts, bagels, Cheerios, pretzels, mac and cheese, pineapple rings, Life Savers
"Interrobang", OKCupid clone for grammarians
$590 bike wheel with apps
$60 IPHONE DICK
$600 shoes made of pretty much paper
'A Modest Proposal' family restaurant
.Hz .o, .Hz .m, .Hz .k, .Hz .n
1 month a year people get drafted to do menial labour
1) you have something to say 2) you blog about it 3) PROFIT
1-bit router
"Hole Foods" store. Donuts, bagels, Cheerios, pretzels, mac and cheese, pineapple rings, Life Savers
"Interrobang", OKCupid clone for grammarians
$590 bike wheel with apps
$60 IPHONE DICK
$600 shoes made of pretty much paper
'A Modest Proposal' family restaurant
.Hz .o, .Hz .m, .Hz .k, .Hz .n
1 month a year people get drafted to do menial labour
1) you have something to say 2) you blog about it 3) PROFIT
1-bit router
for job in $(sacct -a -X --start now-24hours -o jobid,State|grep COMPL|cut -f1 -d' '); do
seff -d $job | awk '
NR==2 {
jobID=$3;
user=$4;
reqmemGB=$11/1024/1024;
memGB=$15/1024/1024;
efficiency=(memGB/reqmemGB)*100;
printf "%s\t%s\t%.0f%%\t%.0f/%.0f\n", jobID, user, efficiency, memGB, reqmemGB}'
done \