ntpq

Query the Network Time Protocol (NTP) daemon. More information: <https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y ntp
Ubuntu
RUN apt-get update && \ apt-get install -y ntp
Arch Arch Linux
RUN pacman -S --noconfirm ntp
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y ntp
CentOS
RUN yum install -y ntp
Fedora
RUN dnf install -y ntp
Raspbian
RUN apt-get update && \ apt-get install -y ntp
click the source code to copy install ntpq on any operating system with command-not-found.com