Incorrect rman renicing output in Linux
Tagar opened this issue · 3 comments
Tagar commented
INFO: Reniced Oracle processes participating in RMAN backup to lower priority.
List of RMAN related processes with PIDs 4793,4794\c,:
released channel: ch1
Tagar commented
Two issues
- notice \c output and extra comma in 2nd the sample output;
- doesn't print list of processes.
Tagar commented
Issue: Linux's echo expects -e option to recognize \c.
Other platforms don't have -e switch.
Tagar commented
Fixed with case for Linux:
case uname
in
Linux) PIDS2=echo -n "$PIDS" | tr "\n" ","
;;
*) PIDS2=echo "$PIDS\c" | tr "\n" ","
;;
esac