I am trying to find out server utilization at a directory level. Total space is 100 GB. It is allocated to two levels equally and the rest of the sub-directories share the allocated space based on the usage. I got the directories usage how much space is used. But when I sum it up at the last level it won't add up to 100GB because for some directories, users haven't created sub-folders. So I need to go back and add it to know how much is used.
Input file is attached. Raw data is residing from column A to Column C and the output which i am looking for is available from column F- Column H.
It will be great if some one assit me.
Hello @SMohanReddy,
this question seems to be more OS related than SAS related.
Anyway, I would recommend to use some good OS tools. For windows you can use TreeSize ( https://www.jam-software.com/treesize_free/ ) and for UNIX environments, "du" will be your tool
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.