Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks mskalski. It's correct, and I can get the output of ntpq now.

root@node-39:~# ip netns exec vrouter ntpq -c lpeer 127.0.0.1

remote refid st t when poll reach delay offset jitter

*10.20.0.1 LOCAL(0) 9 u 377 1024 377 0.237 -11.089 4.619

Thanks mskalski. It's correct, and I can get the output of ntpq now.

root@node-39:~# ip netns exec vrouter ntpq -c lpeer 127.0.0.1

remote refid st t when poll reach delay offset jitter

*10.20.0.1 LOCAL(0) 9 u 377 1024 377 0.237 -11.089 4.619

Thanks mskalski. It's correct, and I can get the output of ntpq now.now. I just wonder why ntpq -p give the refused result.

root@node-39:~# ip netns exec vrouter ntpq -c lpeer 127.0.0.1

127.0.0.1 remote refid st t when poll reach delay offset jitter

jitter ============================================================================== *10.20.0.1 LOCAL(0) 9 u 377 1024 377 0.237 -11.089 4.619 root@node-39:~# ip netns exec vrouter ntpq -p ntpq: read: Connection refused