________________________________________________________________
RQUOTA - PC-NFS Quota Program - Version 1.0 - Fri Jan 26 1996
________________________________________________________________

Please note: this package is only useful if you are using the Sun 
Microsystems PC networking package, PC-NFS.

'rquota' inquires about a PC-NFS users' disk usage and limits on a 
remote machine by connecting to the rpc server 'rquotad'.  

Without options, 'rquota' will only print warnings when disk usage 
is over quota.

If quotas are not enabled on the remote file-system 'rquota'
returns silently.

Quotas and limits must be set on the remote machine, they can NOT be 
set on the PC.  See the remote systems documentation for details
on how to set quotas.

Usage:

  rquota [-v|-h|-d "drive-name"] "file-server" "file-system"
  rquota -V

Options:
 
  -v   Display user's quotas and limits if quotas exist. 

  -h   As '-v' but suppress printing the header.

  -d "drive-name" 
       Print the "drive-name" rather than the "file-system" when
       giving warnings.

  -V   Print version number and exit.
       
Example Usage:

  % rquota host /export/host/data 
  Block limit reached on /export/host/data, remove 850K now!
  File limit reached on /export/host/data, remove 1 file in 5.9days

  % rquota -v host /export/host/data 
  Filesystem  usage  quota  limit   grace  files  quota  limit    grace
  /export/host/data
               1849   1000   5500              2      2      4  5.9days

  % rquota -d H: host /export/host/data 
  Block limit reached on H:, remove 850K now!
  File limit reached on H:, remove 1 file in 5.9days

  % rquota -h host /export/host/data 
  /export/host/data
               1849   1000   5500              2      2      4  5.9days

_________________________________________
QUOTA: Integrating 'rquota' and 'net use' 
_________________________________________

The batch file 'quota' runs 'rquota' on all PC-NFS mounted file 
systems (it uses the filter 'qfilt.exe' or, if you have a PC version of awk, 
the script 'qfilt.awk' on the output of the PC-NFS command, 'net use'). 

The '-v' option displays quotas and limits while the default is
to print warnings only.

  % quota -v
  Filesystem  usage  quota  limit   grace  files  quota  limit    grace
  /export/host/data
               1849   1000   5500              2      2      4  5.9days
  /export/usr  3400      0      0            269      0      0 

The quota batch file is a messy, slow hack.  Rquota should get the names 
of NFS servers and file-systems directly (as does 'net use').  
If anyone knows how to do this I would be pleased to hear.

______
AUTHOR
______

John Ireland                         Email   : J.Ireland@hgu.mrc.ac.uk
MRC Human Genetics Unit              
Western General Hospital	    
Edinburgh, EH4 2XU, UK


________________________________________________________________________

(C) Copyright 1996 Medical Research Council

No warranty statutory or otherwise is given as to the performance of this
Software or that the Software will be suitable for the Client's
purpose. The Client should satisfy itself as to the suitability and
accuracy of the Software and accepts that MRC and the authors
will not be liable for any direct, indirect, or consequential loss or
damage suffered by the Client or any third party as a result of the
Client's use of the Software.
