Skip to content

Commit 76ddfed

Browse files
committed
add periodic task checking script
1 parent 4fa5622 commit 76ddfed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

check_periodic_task.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
# hostname ; grep 'periodic task' /data/log/nova/nova-compute.log | tail -n1; echo
3+
for i in `seq 11 13`; do ssh -p1046 114.113.199.$i "hostname ; grep 'periodic task' /data/log/nova/nova-compute.log | tail -n1; echo"; done

0 commit comments

Comments
 (0)