BookmarkSubscribeRSS Feed
Sam2022
Obsidian | Level 7

Hi Guys,

 

I'm trying to reduce the usage size of /sas directory and I have deleted the old logs from SAS EM folder, Scheduling folder, Object Spawner folder.

 

Is there any other logs I can delete or any other method to reduce the usage size?

I have looked into the big files by running command:

du -a /sas | sort -n -r | head -n 50

and most of the files are system files which can't be deleted.

1 REPLY 1
LinusH
Tourmaline | Level 20

First find out what directories uses the most storage.

If logs are the prime suspects, you can configura logging in several ways:

- What events that should be logged

- How long to keep the logs (roll out)

Before you decide to remove logs, make sure not to delete logs that are necessary for any future investigation, e.g., logged in userid:s. An alternative is to append them to a compressed archive (zip or similar).

Some starting points:

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/logug/p1ux9lxccgetcgn1hmkhm64m3ud0.htm

https://documentation.sas.com/doc/en/bicdc/9.4/bisag/p0xhobaca1tgxcn1f8bbz87lra5v.htm

Data never sleeps

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 223 views
  • 0 likes
  • 2 in conversation