Get storage information

How to get the storage information in GD through JS