Checking the time of nodes in a cluster


#1

Single line command to check the time of a cluster.

asmonitor -e 'asinfo -v namespace/<NAMESPACE>'|grep -o 'current-time=[0-9]*'

example:

asmonitor -e 'asinfo -v namespace/test'|grep -o 'current-time=[0-9]*'
current-time=150505663
current-time=150505663
current-time=150505663
current-time=150505663