Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 23:21:30 -0800 (PST)
From:      Mike Holling <myke@ees.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   uptime mystery
Message-ID:  <Pine.BSF.4.03.9812222316290.273-100000@phluffy.fks.bt>

next in thread | raw e-mail | index | archive | help
{beach} /usr/local/bb/bin# uname -a
FreeBSD beach.dw.lan 3.0-RELEASE FreeBSD 3.0-RELEASE #1: Sun Dec 20
00:01:10 PST 1998     don@beach.dw.lan:/usr/src/sys/compile/BEACH  i386
{beach} /usr/local/bb/bin# which uptime
/usr/bin/uptime
{beach} /usr/local/bb/bin# uptime
11:18PM  up 1 day, 10:41, 2 users, load averages: 0.53, 0.51, 0.54
{beach} /usr/local/bb/bin# /usr/bin/uptime
11:18PM  up 1 day, 10:41, 2 users, load averages: 0.49, 0.51, 0.53
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             p0       don.dw.lan       Mon01PM    48 -zsh (zsh)
root             p1       net25-cust199.pd  8:09PM     - /usr/bin/uptime

---

Is this a bug?  It doesn't happen on my 2.2.6 system.  It does look like
uptime and w are the same program:

{beach} /usr/local/bb/bin# ls -l =uptime =w
-r-xr-sr-x  2 root  kmem  10272 Oct 17 10:06 /usr/bin/uptime
-r-xr-sr-x  2 root  kmem  10272 Oct 17 10:06 /usr/bin/w

{beach} /usr/local/bb/bin# diff =uptime =w
{beach} /usr/local/bb/bin#


Guess I'll pull down some source bits...

- Mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9812222316290.273-100000>