Skip to content

12 synchronize timestamps and track throughput and arrival rate #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

HannahMarsh
Copy link
Owner

No description provided.

- Added logic to check if the operating system is Linux before attempting to install and manage NTP services.
- Implemented a fallback mechanism to install `chronyd` if `ntp` installation fails.
- Ensured that the program checks whether `ntpd` or `chronyd` is installed, and installs the appropriate service if neither is found.
- Automatically starts the NTP/Chrony service if it's not already running.
- Added a safe stop function to gracefully stop the NTP/Chrony service when the program finishes execution.
- Improved logging throughout the process to clearly indicate which service (`ntp` or `chronyd`) is being installed, started, or stopped.
- Enhanced error handling for NTP/Chrony service status checks and installation, ensuring clarity in failure cases.
- Refined output and logging for better traceability of system state and actions performed.
@HannahMarsh HannahMarsh linked an issue Oct 23, 2024 that may be closed by this pull request
@HannahMarsh HannahMarsh merged commit e1ce31f into main Oct 23, 2024
1 check passed
@HannahMarsh HannahMarsh deleted the 12-synchronize-timestamps-and-track-throughput-and-arrival-rate branch October 23, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Synchronize timestamps and track throughput and arrival rate
1 participant