Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 23:35:40 +0100
From:      David Jenkins <david.jenkins@gmail.com>
To:        Tillman Hodgson <tillman@seekingfire.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: getloadavg and source for /usr/bin/uptime
Message-ID:  <9395922d04102715351de62a8a@mail.gmail.com>
In-Reply-To: <20041027221418.GO94897@seekingfire.com>
References:  <9395922d04102715094411ac2d@mail.gmail.com> <20041027221418.GO94897@seekingfire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Oct 2004 16:14:18 -0600, Tillman Hodgson
<tillman@seekingfire.com> wrote:

> Probably because /usr/bin/uptime is a hard link to the /usr/bin/w
> binary. I think you want the code from /usr/src/usr.bin/w/w.c.

D'oh.

That's exactly what I'm after.

Thanks,
David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9395922d04102715351de62a8a>