Utility to Get Directory Quotas Assigned to a Directory

0 Likes

Prerequisites




  1. Perl must be installed and running on the Linux server where this utility will be used.




This tool is used to get the directory quotas assigned to a directory.



It uses Virtual File Services to get the directory quotas.



How to use the utility:



From a terminal prompt type:


perl directoryQuota.pl <enter>


Following menu will be displayed:



  1. To get directory quota

  • Exit



A sample output on selecting 1 would be:



Select Action: 1
Enter directory Name(with fully qualified path) to find directory quota: /media/nss/VOL1/test

---------------------------------------------------------
quota Amount(in KB) : 300
used Amount(in KB) : 0

If quota not assigned to a directory.

Select Action: 1
Enter directory Name(with fully qualified path) to find directory quota: /media/nss/VOL1/testdir

------------------------------------------------------------
quota not assigned
------------------------------------------------------------

Labels:

Collateral
Comment List
Related
Recommended