Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 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