From d744d752858a741b34091dce4d44064eca997081 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Wed, 21 Oct 2009 19:44:59 +0000 Subject: [PATCH] PPSS can now be run with multiple instances in stand-alone mode. --- branches/distributed-ppss/ppss.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index ade0fb6..a6922d2 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/ppss.sh @@ -38,7 +38,7 @@ trap 'kill_process; ' INT # Setting some vars. Do not change. SCRIPT_NAME="Distributed Parallel Processing Shell Script" -SCRIPT_VERSION="2.33" +SCRIPT_VERSION="2.34" # The first argument to this script is always the 'mode'. MODE="$1" @@ -1345,6 +1345,7 @@ commando () { DATE=`date +%b\ %d\ %H:%M:%S` echo "===== PPSS Item Log File =====" > "$ITEM_LOG_FILE" echo -e "Host:\t\t$HOSTNAME" >> "$ITEM_LOG_FILE" + echo -e "Process:$PID" >> "$ITEM_LOG_FILE" echo -e "Item:\t\t$ITEM" >> "$ITEM_LOG_FILE" echo -e "Start date:\t$DATE" >> "$ITEM_LOG_FILE" echo -e "" >> "$ITEM_LOG_FILE"