From owner-freebsd-stable Tue Dec 22 23:21:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09159 for freebsd-stable-outgoing; Tue, 22 Dec 1998 23:21:38 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from phluffy.fks.bt (net25-cust199.pdx.wantweb.net [24.236.25.199]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09154 for ; Tue, 22 Dec 1998 23:21:36 -0800 (PST) (envelope-from myke@ees.com) Received: from localhost (myke@localhost) by phluffy.fks.bt (8.8.8/8.8.8) with ESMTP id XAA09383 for ; Tue, 22 Dec 1998 23:21:30 -0800 (PST) (envelope-from myke@ees.com) Date: Tue, 22 Dec 1998 23:21:30 -0800 (PST) From: Mike Holling X-Sender: myke@phluffy.fks.bt To: freebsd-stable@FreeBSD.ORG Subject: uptime mystery Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG {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