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 checkntp test ntp.ix.runtp confntp set ntp.ix.ru [servers split by space]ntp disablentp sync ntp.ix.ru