Commit | Line | Data |
---|---|---|
805e021f CE |
1 | =head1 NAME |
2 | ||
3 | fs_quota - Displays the quota used in the volume containing a directory or file | |
4 | ||
5 | =head1 SYNOPSIS | |
6 | ||
7 | =for html | |
8 | <div class="synopsis"> | |
9 | ||
10 | B<fs quota> S<<< [B<-path> <I<dir/file path>>+] >>> [B<-help>] | |
11 | ||
12 | B<fs q> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>] | |
13 | ||
14 | =for html | |
15 | </div> | |
16 | ||
17 | =head1 DESCRIPTION | |
18 | ||
19 | The B<fs quota> command displays the percent of quota consumed in the | |
20 | volume that contains each specified directory or file. | |
21 | ||
22 | To display more detailed information about the volume and the partition it | |
23 | resides on, use the B<fs examine> and B<fs listquota> commands. | |
24 | ||
25 | To set volume quota, use the B<fs setquota> or B<fs setvol> command. | |
26 | ||
27 | =head1 CAUTIONS | |
28 | ||
29 | =include fragments/volsize-caution.pod | |
30 | ||
31 | =head1 OPTIONS | |
32 | ||
33 | =over 4 | |
34 | ||
35 | =item B<-path> <I<dir/file path>> | |
36 | ||
37 | Names each file or directory for which to display the quota consumed in | |
38 | its parent volume. Partial pathnames are interpreted relative to the | |
39 | current working directory, which is also the default value if this | |
40 | argument is omitted. | |
41 | ||
42 | =item B<-help> | |
43 | ||
44 | Prints the online help for this command. All other valid options are | |
45 | ignored. | |
46 | ||
47 | =back | |
48 | ||
49 | =head1 OUTPUT | |
50 | ||
51 | The output reports the percent of volume quota used, in the following | |
52 | format: | |
53 | ||
54 | <percent>% of quota used. | |
55 | ||
56 | =head1 EXAMPLES | |
57 | ||
58 | The following command lists the percent quota used of the volume housing | |
59 | the current working directory: | |
60 | ||
61 | % fs quota | |
62 | 17% of quota used. | |
63 | ||
64 | The following command lists the percent quota used of both the volume | |
65 | housing the current working directory's parent directory and the volume | |
66 | housing the directory F</afs/example.com/usr/smith>: | |
67 | ||
68 | % fs quota -path .. /afs/example.com/usr/smith | |
69 | 43% of quota used. | |
70 | 92% of quota used. | |
71 | ||
72 | =head1 PRIVILEGE REQUIRED | |
73 | ||
74 | The issuer must have the C<r> (read) permission on the ACL of the root | |
75 | directory of the volume that houses the file or directory named by the | |
76 | B<-path> argument, and C<l> (list) permission on the ACL of each | |
77 | directory that precedes it in the pathname. | |
78 | ||
79 | =head1 SEE ALSO | |
80 | ||
81 | L<fs_examine(1)>, | |
82 | L<fs_listquota(1)>, | |
83 | L<fs_setquota(1)>, | |
84 | L<fs_setvol(1)> | |
85 | ||
86 | =head1 COPYRIGHT | |
87 | ||
88 | IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. | |
89 | ||
90 | This documentation is covered by the IBM Public License Version 1.0. It was | |
91 | converted from HTML to POD by software written by Chas Williams and Russ | |
92 | Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. |