Subject: bin/3220: add uptime to /etc/daily output
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 02/16/1997 16:51:46
>Number: 3220
>Category: bin
>Synopsis: add uptime to /etc/daily output
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 16 08:05:01 1997
>Last-Modified:
>Originator: Hubert Feyrer
>Organization:
>Release: 1.2
>Environment:
System: NetBSD smaug 1.2 NetBSD 1.2 (SMAUG) #0: Sun Oct 27 00:52:22 MET DST 1996 feyrer@smaug:/disk1/usr_src/sys/arch/sparc/compile/SMAUG sparc
>Description:
I like to know how long my machines are up, and as i get a
daily report via mail anyways, i see a good place to add
this information there.
>How-To-Repeat:
read daily mail, then rlogin & type uptime
>Fix:
*** /net/smaug/disk1/homes/feyrer/NetBSD-current/src/etc/daily Sat Feb 15 12:07:42 1997
--- /tmp/d Sun Feb 16 16:48:50 1997
***************
*** 15,20 ****
--- 15,23 ----
. /etc/daily.conf
fi
+ echo ""
+ echo "Uptime: " `uptime`
+
#echo ""
#echo "Removing scratch and junk files:"
#if [ -d /tmp -a ! -h /tmp ]; then
>Audit-Trail:
>Unformatted: