From owner-freebsd-questions@FreeBSD.ORG Mon Dec 4 05:23:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 077C916A403 for ; Mon, 4 Dec 2006 05:23:10 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF0C543CB7 for ; Mon, 4 Dec 2006 05:22:32 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id kB45N2FG074710; Sun, 3 Dec 2006 23:23:02 -0600 (CST) (envelope-from dan) Date: Sun, 3 Dec 2006 23:23:02 -0600 From: Dan Nelson To: perryh@pluto.rain.com Message-ID: <20061204052302.GI69797@dan.emsphone.com> References: <4573ac60.POSOIKMT2bYlPFmd%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4573ac60.POSOIKMT2bYlPFmd%perryh@pluto.rain.com> X-OS: FreeBSD 6.2-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: equivalent to "date -a" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 05:23:10 -0000 In the last episode (Dec 03), perryh@pluto.rain.com said: > Does FreeBSD have an equivalent to the Solaris "date -a" command, > i.e. a command-level interface to adjtime(2)? I didn't see any > mention of a "-a" switch in the manpages for date(1) or gdate(1), nor > anything applicable in apropos, and a grep for adjtime in > likely-seeming parts of /usr/src didn't turn up anything either. There's an indirect one via ntpdate -B ... -- Dan Nelson dnelson@allantgroup.com