for files in $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OPMN/opmn $EBS_DOMAIN_HOME/sysman/log do for file in `ls $files/*` do echo "Clearing file: " $file cat /dev/null > $file done done for files in $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OHS/EBS_web_component $EBS_DOMAIN_HOME/servers/*/logs $IAS_ORACLE_HOME/../wlserver_10.3/common/nodemanager do for file in `ls $files/*log* $files/*out*| grep -v lck` do echo "Clearing file: " $file cat /dev/null > $file done done
https://docs.oracle.com/cd/E26401_01/doc.122/e22954/T202991T608080.htm#6808602
No comments:
Post a Comment