Skip to content

Instantly share code, notes, and snippets.

View pshapiro4broad's full-sized avatar

Phil Shapiro pshapiro4broad

  • Broad Institute
  • Cambridge
View GitHub Profile
@pyropeter
pyropeter / monitor.sh
Created July 10, 2010 12:40
Simple system monitor
#!/bin/bash
interval=5
intervalLong=300
function getSensors {
sensors | awk 'BEGIN {FS=":? +"} /^Core|^fan[12]|^temp/ {printf "%9s %9s\n", $1, $2}'
}
function getDiskfree {