TSL
TSL

Reputation: 936

How can I check the usage of a worker role's local storage resources?

I've set up a local storage resource for my Azure worker role, but from C# code I see no way of checking how much space is available on a LocalResource object. How can I find this out?

Upvotes: 0

Views: 80

Answers (1)

BrentDaCodeMonkey
BrentDaCodeMonkey

Reputation: 5513

Its the same way you'd see what's being used in a mounted drive. Unfortunately, you need to crawl the folder/directory structure and sum up all the various files sizes.

Upvotes: 1

Related Questions