LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-01-2005, 02:29 PM   #1
qtrob
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
clock -w on solaris


How do I write the clock to the CMOS on solaris?

The 'clock' utility looks like a general clock, where 'clock -w' does not work,

where I am familiar with it working on Linux.
 
Old 03-02-2005, 10:51 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I believe there's no such command with Solaris, as setting the system time with date (settimeofday/adjtime) is AFAIK synchronizing the H/W clock too.
 
Old 03-02-2005, 10:58 AM   #3
qtrob
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
AFAIK

what does AFAIK mean? (As far as I know? )
 
Old 03-02-2005, 10:59 AM   #4
qtrob
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Question Example

Can you give me an example of a valid command, I want to make sure I'm not missing anything.

Note: At reboot, the time goes back to the previous time.
 
Old 03-02-2005, 02:09 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
what does AFAIK mean? (As far as I know? )
IIRC, yes

Quote:
Can you give me an example of a valid command, I want to make sure I'm not missing anything.
Note: At reboot, the time goes back to the previous time.
This is strange, never had such problem. Sure this is happening only with Solaris ? Is your CMOS battery OK ?

There's no Solaris specific way to set the time, e.g.:
# date 03022109

Actually, I use ntp to sync my clock, but of course this doesn't work when unconnected.
 
Old 03-03-2005, 03:42 AM   #6
]un]ie
Member
 
Registered: Jul 2004
Location: Singapore
Posts: 61

Rep: Reputation: 16
AFAIK......

this...i must add to my list of "learning new terms daily"

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
clock -w on solaris qtrob Linux - Software 2 03-01-2005 03:31 PM
clock -w on solaris qtrob Linux - Software 1 03-01-2005 03:03 PM
Dot Clock / Pixel Clock Freaksta Linux - Hardware 1 05-05-2004 08:21 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration