Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 7 lines (6 sloc) 167 Bytes
if [ $# -eq 0 ]; then
loadavg="`cat /proc/loadavg | awk '{print $1, $2, $3}'`";
echo "[load ${loadavg}] `date +'%R'`";
else
echo "NOTIFICATION: $1";
fi