17 September, 2015

To remove old files more than a year

find /opt/oracle/admin/WPSQA/adump_old/ -mtime +485 -exec rm {} \;



find /opt/oracle/admin/WPSQA/adump_old/ -mtime +485(here no of older days) -exec rm {} \;



find /opt/oracle/admin/WPSQA/adump_old/ -name "*.trc" -mtime +25 -exec rm {} \;

No comments:

Post a Comment

Finding OPP Manager log for a concurrent request

=> Use below query to find the OPP manager log for a concurrent request.  SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.lo...