Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What are the two ways the hardware clock can be configured under Linux? Post 302467767 by lemon_06 on Sunday 31st of October 2010 06:00:42 AM
Old 10-31-2010
So what if it is homework!!!!!!!!!!!!!!!!!!!!!

---------- Post updated at 04:56 AM ---------- Previous update was at 04:55 AM ----------

I really hate someone saying "is it homework ?" or something.

---------- Post updated at 05:00 AM ---------- Previous update was at 04:56 AM ----------

YSE.It is definetely homework which related to my graduation ,ok!
 

7 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

hardware (BIOS) clock

Guys could you please tell me which appropriate command is used to set hardware (BIOS) clock so that the system keeps time when it reboots & how it's used. I use Linux Thank you (2 Replies)
Discussion started by: joseph kembo
2 Replies

2. Red Hat

how to reset the hardware clock

Hi all Hi could anyone tell me how i can set the Hardware Clock to the System Time, and set the System Time from the Hardware Clock. i am using RHEL 4.0. Thanks in advance. (1 Reply)
Discussion started by: daya.pandit
1 Replies

3. UNIX for Dummies Questions & Answers

Linux on custom hardware

I would like to configure a bare minimum Linux with internet browser on a system with Flash & RAM (but no harddisk or any other nonvolatile storage). Please advise. (5 Replies)
Discussion started by: rherb
5 Replies

4. Red Hat

How to Find what HBA is configured on Linux?

Hi I am working in an environment where there are many redhat physical and virtual machines, mostly Redhat 4. These servers have LUNs attached. The external storage can be EMC, NetApp or Par3. My question is that when Storage Administrator informs that a new LUN has been presented to a... (4 Replies)
Discussion started by: Tirmazi
4 Replies

5. UNIX and Linux Applications

Linux application upgrade ways

Hello. I need upgrade memcached. This software is installed throuth yum. In official repositories isn`t newest version of memcached, but this one is vulnerable. So looks like I need built it from source, but I dont really want to install c libraries un compilers on system. 1.) So can I compile... (0 Replies)
Discussion started by: jabalv
0 Replies

6. Hardware

Does this hardware works with Linux

Hello folks, I pretend acquire this hardware: 1-Motherboard Asus Skt1151 - H110M-A/M.2 (https://www.asus.com/pt/Motherboards...cifications/); 2-Intel i5 6400 2.7Ghz QuadCore Skt1151; or 2-Intel i5 6500 3.2Ghz QuadCore Skt1151; 3-Dimm 8GB DDR4 Kingston CL15 2133Mhz; Obvious I pretend... (1 Reply)
Discussion started by: enodev
1 Replies

7. UNIX for Beginners Questions & Answers

DHCP Issue Possibly due to Hardware Clock?

Hello All, OS: openSUSE 13.1 (Bottle) (armv7hl) PC: CuBox-i (*mini-pc) The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00". I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies
ADJTIME(2)						     Linux Programmer's Manual							ADJTIME(2)

NAME
adjtime - smoothly tune kernel clock SYNOPSIS
#include <sys/time.h> int adjtime(const struct timeval *delta, struct timeval *olddelta); DESCRIPTION
This function speeds up or slows down the system clock in order to make a gradual adjustment. This ensures that the calendar time reported by the system clock is always monotonically increasing, which might not happen if you simply set the clock. The delta argument specifies a relative adjustment to be made to the clock time. If negative, the system clock is slowed down fora while until it has lost this much elapsed time. If positive, the system clock is speeded up for a while. If the olddelta argument is not a null pointer, the adjtime function returns information about any previous time adjustment that has not yet completed. This function is typically used to synchronize the clocks of computers in a local network. You must be a privileged user to use it. RETURN VALUE
The adjtime function returns 0 on success and -1 on failure and sets the external variable errno accordingly. ERRORS
EPERM The calling process does not have enough privileges to access the clock. NOTE
With a Linux kernel, you can use the adjtimex(2) function to permanently change the system clock speed. CONFORMING TO
This function is derived from 4.3 BSD and SVr4. SEE ALSO
adjtimex(2), settimeofday(2) Linux 2.0 2002-02-16 ADJTIME(2)
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy