for (( ; ; )) do date >> oc_node_status.log oc get nodes -o wide >> oc_node_status.log sleep 2 done