LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03: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, 11:51 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,768

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
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, 11: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, 11: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, 03:09 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,768

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
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, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:19 PM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 10:58 PM
clock -w on solaris qtrob Linux - Software 2 03-01-2005 04:31 PM
clock -w on solaris qtrob Linux - Software 1 03-01-2005 04:03 PM
Dot Clock / Pixel Clock Freaksta Linux - Hardware 1 05-05-2004 09:21 PM

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

All times are GMT -5. The time now is 04:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration