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
Azurite | Level 17

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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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