# HG changeset patch # User Steve Losh # Date 1580425596 18000 # Node ID 9103f39a983f4da53664d2d391937b51a9437cca # Parent 11c0531d51d5ec0f633bad9cb20d8c213b772bcf More diff -r 11c0531d51d5 -r 9103f39a983f bin/disks --- a/bin/disks Thu Jan 30 11:51:15 2020 -0500 +++ b/bin/disks Thu Jan 30 18:06:36 2020 -0500 @@ -2,7 +2,15 @@ set -euo pipefail -lsblk -o name,mountpoint,model,label,size,fstype | egrep -v "^loop" +lsblk -o name,mountpoint,model,label,size,fstype | grep -Pv "^loop" | awk ' +NR>1 && /^[a-zA-Z]/ { print "-----------------------------------------------------------------------------------------------------------------------" } + { print $0 } +' echo echo -df -h | egrep -v '^/dev/loop' | egrep -v tmpfs +echo + +OUT=$(df -h) +echo "$OUT" | head -1 +echo "$OUT" | head -1 | sed 's/./-/g' +echo "$OUT" | tail +2 | grep -Pv '^/dev/loop' | grep -Pv tmpfs | sort -k6 diff -r 11c0531d51d5 -r 9103f39a983f gnuplot --- a/gnuplot Thu Jan 30 11:51:15 2020 -0500 +++ b/gnuplot Thu Jan 30 18:06:36 2020 -0500 @@ -1,1 +1,9 @@ set terminal qt noraise +set samples 1000 + +tau = 2 * pi +e = 2.71828182845905 +r2 = sqrt(2.0) + +min(a, b) = (ab) ? a : b