linux系统引导流程

时间:2025-04-12

linux系统引导流程

linux 查看软件时间 date

[root@localhost test]# date

Sun Jan 15 19:20:01 PST 2012

[root@localhost test]#

hwclock 软件时钟

[root@localhost test]# hwclock --help

hwclock - query and set the hardware clock (RTC)

Usage: hwclock [function] [options...]

Functions:

--help show this help

--show read hardware clock and print result

--set set the rtc to the time given with --date

--hctosys set the system time from the hardware clock 依据硬件时钟设置软件时钟 --systohc set the hardware clock to the current system time 依据软件时钟设置硬件时钟

--adjust adjust the rtc to account for systematic drift since

the clock was last set or adjusted

--getepoch print out the kernel's hardware clock epoch value

--setepoch set the kernel's hardware clock epoch value to the

value given with --epoch

--version print out the version of hwclock to stdout

Options:

--utc the hardware clock is kept in coordinated universal time

--localtime the hardware clock is kept in local time

--directisa access the ISA bus directly instead of /dev/rtc

--badyear ignore rtc's year because the bios is broken

--date specifies the time to which to set the hardware clock

--epoch=year specifies the year which is the beginning of the

hardware clock's epoch value

--noadjfile do not access /etc/adjtime. Requires the use of

either --utc or --localtime

[root@localhost test]#

Eg.

[root@localhost test]# date

Sun Jan 15 19:26:05 PST 2012

[root@localhost test]# hwclock

Sun 15 Jan 2012 07:26:10 PM PST -0.128598 seconds

[root@localhost test]# hwclock --hctosys

[root@localhost test]# date

linux系统引导流程.doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219