- Timestamp:
- 05/22/07 16:24:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkscriptrunning
r8536 r8537 35 35 then 36 36 printprocesslog "WARN two many command line options given in $@ -> exit" 37 finish 37 finish >/dev/null 38 38 fi 39 39 40 40 path=`dirname $0` 41 script= $path/$142 if ! ps aux | grep "$script" | grep -v grep>/dev/null41 script="/bin/sh "$path/$1 42 if ! ps -o "%a" -C '$1' | grep -x "$script" >/dev/null 43 43 then 44 44 printprocesslog "INFO starting $script"
Note:
See TracChangeset
for help on using the changeset viewer.