Advertisement
Guest User

Untitled

a guest
Sep 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. strace ntpq -p
  2.  
  3.  
  4. open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
  5. fstat(3, {st_mode=S_IFREG|0644, st_size=2584, ...}) = 0
  6. fstat(3, {st_mode=S_IFREG|0644, st_size=2584, ...}) = 0
  7. read(3, "# Configuration for getaddrinfo("..., 4096) = 2584
  8. read(3, "", 4096) = 0
  9. close(3) = 0
  10. futex(0x7f9367b5aee4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
  11. socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
  12. connect(3, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
  13. getsockname(3, {sa_family=AF_INET, sin_port=htons(57437), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
  14. close(3) = 0
  15. socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
  16. 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
  17. 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
  18. close(3) = 0
  19. socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 3
  20. 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
  21. sendto(3, "\26\1\0\1\0\0\0\0\0\0\0\0", 12, 0, NULL, 0) = 12
  22. select(4, [3], NULL, NULL, {5, 0}) = 1 (in [3], left {4, 999998})
  23. recvfrom(3, 0x7ffc71033d90, 516, 0, NULL, NULL) = -1 ECONNREFUSED (Connection refused)
  24. write(2, "ntpq: ", 6ntpq: ) = 6
  25. write(2, "read", 4read) = 4
  26. write(2, ": Connection refused", 20: Connection refused) = 20
  27. exit_group(0) = ?
  28. +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement