ntp
Использование
ntp [-h] [--to_file] {check,conf,test,set,disable,sync} ...
Описание
Команды работы с ntp.
Аргументы
- check- Check actual ntp sync.
- conf- Get actual ntp conf.
- test- Test connection to ntp server.
- set- Set ntp servers.
- disable- Disable ntp.
- sync- Synchronization with the ntp server.
- --to_file- Redirect output to file (/tmp/cli-stdout.txt).
Примеры использования
- ntp check
- ntp test ntp.ix.ru
- ntp conf
- ntp set ntp.ix.ru [servers split by space]
- ntp disable
- ntp sync ntp.ix.ru