My environment: Suse Linux Backend, Windows user tools (EG) Question: I want to set up a nightly script on our Linux server to do maintenance. I'm going to include running the cleanwork utility to get rid of rogue saswork sessions, along with some general housekeeping. I have a list of all the common logging directories, and I'm going through each one to inventory the files that are there, in addition to deciding on a reasonable rule for each directory (ie: delete all old log files over 60 days, etc). I can tell what I'm looking at with the SAS Server Logs (object spawner, etc) and I feel comfortable making that decision. There are some logs that I am not familiar with and I don't want to "rip the rug" out from under the process, so to speak, if that log is in some way needed. I am mostly wondering about any logging related to Environment Manager, Perf and Audit Logs. Are there any logs that I absolutely shouldn't touch and let them continue to accumulate? Here are a few specific examples that I'm wondering about: Lev1/ObjectSpawner/AuditLogs Lev1/WorkspaceServer/PerfLogs /Lev1/Web/SASEnvironmentManager/emi-framework/Logs/ acm*, getMetricData*, masterAPMETL*, /Lev1/Web/SASEnvironmentManager/emi-framework/Archive/logs_processed_date.zip Lev1/Web/SASEnvironmentManager/emi-client/Logs logDiscovery*, logCollect*, /Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/log/agentstats agentstats*.csv.gz I could keep going with this, but I think you get the picture. I'm only worried about the locations where there isn't a built-in log cleanup and I'm not sure if it's safe to delete some things. Generally I wouldn't even think to delete anything that obviously didn't have a recurring log with several months of existing old files. I'm not talking about anything current - just old stuff that could free up space. We are a newer SAS site and I have not used these boards as much as I should, so I hope this is the appropriate place to post this and I hope I am not duplicating an already asked question. I've done several searches and found a few articles, but nothing that answers my specific question. Thank you!
... View more