Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- strace ntpq -p
- open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=2584, ...}) = 0
- fstat(3, {st_mode=S_IFREG|0644, st_size=2584, ...}) = 0
- read(3, "# Configuration for getaddrinfo("..., 4096) = 2584
- read(3, "", 4096) = 0
- close(3) = 0
- futex(0x7f9367b5aee4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
- socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
- connect(3, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
- getsockname(3, {sa_family=AF_INET, sin_port=htons(57437), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
- close(3) = 0
- socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
- connect(3, {sa_family=AF_INET6, sin6_port=htons(123), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
- getsockname(3, {sa_family=AF_INET6, sin6_port=htons(33586), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
- close(3) = 0
- socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 3
- connect(3, {sa_family=AF_INET6, sin6_port=htons(123), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
- sendto(3, "\26\1\0\1\0\0\0\0\0\0\0\0", 12, 0, NULL, 0) = 12
- select(4, [3], NULL, NULL, {5, 0}) = 1 (in [3], left {4, 999998})
- recvfrom(3, 0x7ffc71033d90, 516, 0, NULL, NULL) = -1 ECONNREFUSED (Connection refused)
- write(2, "ntpq: ", 6ntpq: ) = 6
- write(2, "read", 4read) = 4
- write(2, ": Connection refused", 20: Connection refused) = 20
- exit_group(0) = ?
- +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement