Tool
Prerequisites
- Perl must be installed and running on the Linux server where this utility will be used.
- NSS must be installed to get the VFS support.
(The SDK for this API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual_File_Services_for_NetWare.)
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:
- 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
------------------------------------------------------------
| Attachment | サイズ |
|---|---|
| directoryQuota.pl.txt | 4.12 KB |
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 4673 reads



0