NAME
getquota.pl – Obtain qtree and user quota information from a NetApp Filer
getquota.pl [options]
-home [username] print user quota report
-filer filer host name
-volume volume name where qtree is created
-qtree qtree name
-help|h brief help message
-man full documentation
OPTIONS
- -help
-
Print usage info and exit.
- -man
-
Print the manual page and exist.
- -home
-
Query and print the user quota information. If no username is passed, then the quota information for the running user is provided. Optionally, a username and the hosting filer name can be passed to query the usage information of that user. See EXAMPLES below.
- -filer
-
Filer name where the resource is exported from
- -volume
-
Volume name. Requires -f.
- -qtree
-
Qtree name. Requires -f and -v.
DESCRIPTION
This program will obtain qtree and user quota information from a NetApp Filer
CONTACT
Rajeev Karamchedu
rajeev<AT>tigr<DOT>org>
http://rajeev.name
EXAMPLES
- Print user quotas for the running user
#getquota.pl -home
Home Area quota for: rajeev
Current Usage: 1.3 GB
Current Limit: 2 G - Print user quotas for ‘jdoe’
#getquota.pl -home jdoe
Home Area quota for: jdoe
Current Usage: 1.5 GB
Current Limit: 2 GB - Print user quotas for user ‘janet’ on filer ‘toaster2′
#getquota.pl -home janet -f toaster2
Home Area quota for: janet
Current Usage: 838 MB
Current Limit: 1 GB - Print a qtree quota information
#getquota.pl -f toaster -v projects -q TTY
Quota for: /vol/projects/TTY
Current Usage: 1 GB
Current Limit: 1.6 GB
# of Files Used: 64105 - Print a volume usage information
#getquota.pl -f toaster -v projects
Quota for: /vol/projects/
Current Usage: 589.6 GB
Current Limit: 657.2 GB
# of Files Used: 5589806











