„runchecks.yml“ ändern
This commit is contained in:
parent
e49c94ef21
commit
854ecce550
@ -192,7 +192,7 @@
|
|||||||
ps aufx | grep $dzpid | grep -v grep >${g_tmp}/proc-check-$dzpid.notify
|
ps aufx | grep $dzpid | grep -v grep >${g_tmp}/proc-check-$dzpid.notify
|
||||||
pstree $dzpid >>${g_tmp}/proc-check-$dzpid.notify
|
pstree $dzpid >>${g_tmp}/proc-check-$dzpid.notify
|
||||||
cat ${g_tmp}/proc-check/$dzpid >>${g_tmp}/proc-check-$dzpid.notify
|
cat ${g_tmp}/proc-check/$dzpid >>${g_tmp}/proc-check-$dzpid.notify
|
||||||
egrep -q "usb-storage" ${g_tmp}/proc-check-$dzpid.notify || g_echo_error "$(cat ${g_tmp}/proc-check-$dzpid.notify)"
|
egrep -q "usb-storage|md[0-9]*_" ${g_tmp}/proc-check-$dzpid.notify || g_echo_error "$(cat ${g_tmp}/proc-check-$dzpid.notify)"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
date >${g_tmp}/proc-check/$dzpid
|
date >${g_tmp}/proc-check/$dzpid
|
||||||
|
Loading…
Reference in New Issue
Block a user