From owner-freebsd-questions Mon Jun 19 2: 3:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from proxy.outblaze.com (proxy.outblaze.com [202.77.223.120]) by hub.freebsd.org (Postfix) with SMTP id 0E36837BC66 for ; Mon, 19 Jun 2000 02:03:40 -0700 (PDT) (envelope-from rossl@outblaze.com) Received: (qmail 25037 invoked from network); 19 Jun 2000 09:04:21 -0000 Received: from unknown (HELO outblaze.com) (202.77.181.223) by proxy.outblaze.com with SMTP; 19 Jun 2000 09:04:21 -0000 Message-ID: <394DE21D.9005D9FE@outblaze.com> Date: Mon, 19 Jun 2000 17:04:32 +0800 From: Ross Law Organization: Outblaze X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to read CMOS clock ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, When I use tzsetup to change the time zone, it would ask me "Is this machine's CMOS clock set to UTC?" For a running machine and I can't remember/know what the CMOS clock is set to, I can't answer that question. I know that for Linux system I can use "hwclock --show" to read the CMOS clock setting. Any corresponding commands to do so for FreeBSD? Or some system calls to do so? Thanks -- Ross Law Technical Staff Outblaze Ltd. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message