hwclock(hardware clock)
Function description: Display and set hardware clock.
Syntax: hwclock [--adjust][--debug][--directisa][--hctosys][--show][--systohc][--test] [--utc][ ,null,null,3],--version][--set --date=<date and time>]
Note: There are two kinds of clocks, such as hardware clock and system clock, in Linux. The hardware clock refers to the clock device on the motherboard, which is the clock that can usually be set on the BIOS screen. The system clock is the clock in the kernel. When Linux boots, the system clock reads the hardware clock settings, and the system clock runs independently. All Linux related instructions and functions are settings that read the system clock.
Parameters:
–adjust hwclock is recorded in the /etc/adjtime file each time the hardware clock is changed. Using the –adjust parameter, hwclock can estimate the deviation of the hardware clock based on previous records and use it to correct the current hardware clock. –debug Displays detailed information about hwclock execution. –directisa hwclock presets to access the hardware clock from the /dev/rtc device. If it is not accessible, this parameter can be used to directly access the hardware clock with I/O instructions. –hctosys adjusts the system clock to match the current hardware clock. –set –date=<date and time> Set the hardware clock. –show Displays the time and date of the hardware clock. –systohc adjusts the hardware clock to match the current system clock. –test tests the program only, without actually changing the hardware clock. –utc To use Greenwich Mean Time, please include this parameter and hwclock will perform the conversion work. –version displays version information.
We know that both functions provide the ability to enter one line at a time. However, gets is a depr
This article introduces the concept, role, and usage of LVM to help you understand LVM and to use LV
The Linux boot file is stored in the grub.conf configuration file in the /boot/grub/directory. 1.
For the daily use of the Linux system, it is necessary to use the command line to carry out, for ex
Squid3 reverse proxy installation and configuration basic tutorial
The operating system's ally: Linux will dominate the rivers and lakes
Linux server performance optimization process
How to start and shut down Linux system
Linux environment programming - editor basic operations
Linux system master road kernel compilation process analysis
RZSZ tutorial under Linux system
Desktop migration to Linux 4 questions do you know
Novice Academy: Installing Perl and Perl modules under Linux
How to set up wifi hotspots for win10, win8, win7 notebooks
Those you are not familiar with system process management
How to restore the found.000 file to the Win7 system
WinXP Encryption for Shared Folders
Free Windows 7 system resources to make your computer smoother
Win8 how to turn on or off the magnifier
Windows 8 preview expires after three weeks
How does Windows check the disk?