cancel
Showing results for 
Search instead for 
Did you mean: 

What file could I delete in /usr/sap/DAA/SMDA97/SMDAgent?

Former Member
0 Kudos

Hi,

I have the file system /usr/sap are in 90% of used space in one of my portals and I need to get some space in it. One of the biggest files that I have is in this file system:

/usr/sap/DAA/SMDA97/SMDAgent, can I delete the files presented in the screen? or not?

Thanks!
Carlos

Accepted Solutions (1)

Accepted Solutions (1)

AtulKumarJain
Active Contributor
0 Kudos

Hi Aponte,

These file are belong to SMD agent error

can be deleted .....please keep few latest file and older can be removed.

Best Regards,

Atul

former_member206552
Active Contributor
0 Kudos

Hi Aponte

you can use

find /usr/sap/DAA/SMDA97/SMDAgent/*.gdl -mtime +5 -exec rm {} \;

to delete the logs older than 5 days for a certain directory

did you use du -ks * to find the biggest directory ?

Best Regards

Marius

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Carlos,

If you are not using diagnostic agents then you can clear everything under DAA instance. Just stop the services for SMD agent (there will be a process running on unix servers) and you can clear everything related to solution manager diagnostic agent.

SMD agents are mainly used for monitoring and can be installed independently later whenever required.

You can also check if there are older kernel files on the server under /usr/sap. You can also clear older logs from "work" (usr/sap/SID/instance/work) directory and also older defaulttrace files (/usr/sap/SID/instance/j2ee/cluster/server0/log) to make up some space on the same.

Hope this helps you in clearing some more space.

Regards,

Denish

Former Member
0 Kudos

Hello Carlos,

If you are not using diagnostic agents then you can clear everything under DAA instance. Just stop the services for SMD agent (there will be a process running on unix servers) and you can clear everything related to solution manager diagnostic agent.

SMD agents are mainly used for monitoring and can be installed independently later whenever required.

You can also check if there are older kernel files on the server under /usr/sap. You can also clear older logs from "work" (usr/sap/SID/instance/work) directory and also older defaulttrace files (/usr/sap/SID/instance/j2ee/cluster/server0/log) to make up some space on the same.

Hope this helps you in clearing some more space.

Regards,

Denish

Akshay_G
Contributor
0 Kudos

Hi Carlos,

I am not sure about the above files in /usr/sap/DAA/SMDA97/SMDAgent

But perhaps, you can check if /usr/sap/trans can be shrinked in case you do not have /usr/sap/trans as a separate mount point and there is some scope to cleanup files.

/usr/sap/trans/EPS/in/ can be cleaned.

/usr/sap/trans/tmp/ can be cleaned

/usr/sap/trans/log/ can be cleaned, by purging the older logs.

Regards,

Akshay.