#!/usr/bin/env tsh : : tsh - " Force sh(1), csh(1), and other shells to exit w/ error! " <'' ;;; : : " @(#)$Id: 8b6afbdfaf73eaffaa4c935b7ad3886a30e4d445 $ " : : " The author of this file, J.A. Neitzel , " : " hereby grants it to the public domain. " : : : " Print the (1|5|15)-minute load average(s) of the current host. " : : " usage: loadavg " : : >>$0'' <'' killer $0 loadavg uname -n | sed 's/\([^.]*\).*/\1/' | tr -d '\n' ; echo -n ': ' uptime | sed 's/^.*user[s,][ ,] *//' ; wait : zero status