Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rdate or equivalent command under AIX

28 views
Skip to first unread message

Bruce Gilland

unread,
Dec 6, 1994, 11:28:44 AM12/6/94
to
I am looking for a script or program that will let me
set the system time on an AIX machine from another
machine on the net. On my Sun boxes, there is
a command called 'rdate' that will accomplish this.

Anyone know of an equivalent tool under AIX?

thanks,

Bruce Gilland (bgil...@ball.com)
Ball Aerospace Systems Division
Boulder, Colorado 80306

Shane Castle

unread,
Dec 6, 1994, 3:03:29 PM12/6/94
to
In comp.unix.aix, Bruce Gilland<gil...@alumni.cs.colorado.edu> wrote:
>I am looking for a script or program that will let me
>set the system time on an AIX machine from another
>machine on the net. On my Sun boxes, there is
>a command called 'rdate' that will accomplish this.

>Anyone know of an equivalent tool under AIX?

From 'man setclock':

setclock Command

Purpose

Sets the time and date for a host on a network.

Syntax

/usr/sbin/setclock [ TimeServer ]

Description

The /usr/sbin/setclock command gets the time from a network time
server, and if run by a user with root user authority, sets the
local time and date accordingly.

--
Shane Castle sw...@boco.co.gov
Boulder County Info Svcs
Boulder CO USA

Patrik Larsson

unread,
Dec 6, 1994, 4:30:16 PM12/6/94
to
gil...@alumni.cs.colorado.edu (Bruce Gilland) writes:

>I am looking for a script or program that will let me
>set the system time on an AIX machine from another
>machine on the net.

setclock

// Patrik

Andy McCammont

unread,
Dec 7, 1994, 9:59:20 AM12/7/94
to

The nearest equivalent to rdate is setclock. Alternatively, if your
timeserver is close, timed might be appropriate

--
Andy McCammont
mccam...@rcwusr.rcw.bp.com

0 new messages