SAP /usr/sap/<SID>目录日志文件清理 -- 转载的

SAP /usr/sap/目录下日志文件涨的很快,以下是清理方法:

  1. stat.DAT:性能统计文件。 这个统计文件增长很快,不小心就涨到900MB以上。

对应的OS路径: D:\usr\sap\DEV\DVEBMGS00\data

处理方法: ST03N -> Expert mode -> Collector and Perfromance DB ->Statistics

Records & File -> Delete File删除Delete File下的文件例如文件名是sap_DEV_00

  1. dev_rd:gateway trace file.

对应的OS路径: D:\usr\sap\DEV\DVEBMGS00\work

处理方法: SMGW -> Goto -> Trace -> Gateway -> Reset file

  1. dev_rfc:RFC trace file

对应的OS路径:D:\usr\sap\DEV\DVEBMGS00\work

处理方法: SM59 -> RFC -> Delete Trace

  1. dev_w(n):Work Proccess 对应的文件(处理这种情况慎重)

对应的OS路径:D:\usr\sap\DEV\DVEBMGS00\work

处理方法: SM50 -> Process -> Trace -> Reset files