Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/security/nss/tests/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  core_watch   Sprache: JAVA

 
############################################################java.lang.NullPointerException
script to watch for cores during QA runs, so they won't overwrite one
another
Not activated for efficiency reasons, and problems on MKS, us
only when needed and remember to remove afterwards
############################################################java.lang.NullPointerException

############################################################java.lang.NullPointerException
to activate put the following into all.sh (after the HOSTDIR 
has been exported
############################################################java.lang.NullPointerException
sh `dirname $0`/core_watch $HOSTDIR ${HOSTDIR} &    
CORE_WATCH_PID=$!
if [ -n "${KILLPIDS}" ]
then
#     echo $CORE_WATCH_PID >>"${KILLPIDS}"            
fi
############################################################java.lang.NullPointerException

############################################################java.lang.NullPointerException
or put the following into nssqa to watch the whole RESULTDIR
start it shortly before run_all
java.lang.NullPointerException
NOTE: the more efficient way is above, this is potentially going
thru 1000ds of files every 30 seconds
############################################################java.lang.NullPointerException
sh `dirname $0`/core_watch $RESULTDIR &    
echo $! >>"${KILLPIDS}"        #so Exit() can hopefully kill the core_watch
############################################################java.lang.NullPointerException

in both cases remember to kill the process when done, since 
the PIDs that end up in ${KILLPIDS} might not work for all OS
something like "kill_by_name core_watch

echo $$ >>"${KILLPIDS}"     #so Exit() can hopefully kill this shell
while [ 1 ]
do
    for w in `find $1 -name "core" -print`
    do
        echo "Found core $w"
        mv $w $w.`date +%H%M%S`
    done
    sleep 30
done


Messung V0.5
C=96 H=93 G=94

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.