Set-time » История » Версия 1
Андрей Волков, 2015-05-25 20:33
1 | 1 | Андрей Волков | h1. Set-time |
---|---|---|---|
2 | |||
3 | h2. Смотрим время |
||
4 | |||
5 | <pre> |
||
6 | livecd ~ # ./megacli -AdpGetTime -a0 |
||
7 | |||
8 | |||
9 | Adapter 0: |
||
10 | Date: 05/25/2015 |
||
11 | Time: 23:28:48 |
||
12 | |||
13 | Exit Code: 0x00 |
||
14 | </pre> |
||
15 | |||
16 | h2. Задаем время |
||
17 | |||
18 | <pre> |
||
19 | livecd ~ # ./megacli -AdpSetTime 20150525 20:30:40 -a0 |
||
20 | |||
21 | New date/time is set on Adapter 0 |
||
22 | |||
23 | Exit Code: 0x00 |
||
24 | </pre> |
||
25 | |||
26 | h2. Проверяем |
||
27 | |||
28 | <pre> |
||
29 | livecd ~ # ./megacli -AdpGetTime -a0 |
||
30 | |||
31 | |||
32 | Adapter 0: |
||
33 | Date: 05/25/2015 |
||
34 | Time: 20:30:46 |
||
35 | |||
36 | Exit Code: 0x00 |
||
37 | </pre> |