Files
Precision-Timekeeping-Fuckery/full_status.sh
T
2025-06-13 14:28:49 -06:00

35 lines
577 B
Bash

#!/bin/bash
# status of services
bash ./services.sh status
# test pps
echo "Testing PPS"
sudo ppstest /dev/pps*
# check gps
echo "Checking Normal GPS"
cgps
# check gpsmon
echo "Checking Timekeeping GPS"
gpsmon
# do same with watch
echo "Watching chronyc sources"
watch chronyc sources
# track
echo "Watching chronyc tracking"
watch -n 10 chronyc tracking
# i2c
clear
echo -e "Detecting I2C Devices\n"
sudo i2cdetect -y 1
read -p -e "\nPress ENTER to Continue..."
# rtc
clear
echo -e "Reading from hardware RTC\n"
sudo hwclock -r
read -p -e "\nPress ENTER to Continue..."