Cheat Sheets

System - NTPd with -x

Description

Checks ntpd is running with -x option. This is useful to survive leap second effects.

Check Script: system-ntpd-slew.sh

#!/bin/bash

if pgrep -f "ntpd.*-x" >/dev/null; then result_ok else result_failed "ntpd not running with -x option" fi
Comment on Disqus