BookmarkSubscribeRSS Feed
SMohanReddy
Obsidian | Level 7

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.

1 REPLY 1
JuanS_OCS
Amethyst | Level 16

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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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