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
Print usage info and exit.
Print the manual page and exist.
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 name where the resource is exported from
Volume name. Requires -f.
Qtree name. Requires -f and -v.
This program will obtain qtree and user quota information from a NetApp Filer
Rajeev Karamchedu rajeev<AT>tigr<DOT>org> http://kreaper.blogsome.com
#getquota.pl -home
Home Area quota for: rajeev
Current Usage: 1.3 GB
Current Limit: 2 G
#getquota.pl -home jdoe
Home Area quota for: jdoe
Current Usage: 1.5 GB
Current Limit: 2 GB
#getquota.pl -home janet -f toaster2
Home Area quota for: janet
Current Usage: 838 MB
Current Limit: 1 GB
#getquota.pl -f toaster -v projects -q TTY
Quota for: /vol/projects/TTY
Current Usage: 1 GB#getquota.pl -f toaster -v projects
Quota for: /vol/projects/
Current Usage: 589.6 GB