3 fs_diskfree - Shows data about the partition housing a directory or file
10 B<fs diskfree> S<<< [B<-path> <I<dir/file path>>+] >>> [B<-human>] [B<-help>]
12 B<fs df> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-hu>] [B<-he>]
14 B<fs di> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-hu>] [B<-he>]
21 The B<fs diskfree> command formats and displays information about the
22 partition that houses the volume containing the specified directory or
23 file, including its size and how much space is currently used.
25 To display information about the volume itself, use the B<fs examine>
26 command. The B<fs examine> and B<fs quota> commands also display
27 information about a volume.
31 The partition-related statistics in this command's output do not always
32 agree with the corresponding values in the output of the standard UNIX
33 B<df> command. The statistics reported by this command can be up to five
34 minutes old, because the Cache Manager polls the File Server for partition
35 information at that frequency. Also, on some operating systems, the B<df>
36 command's report of partition size includes reserved space not included in
37 this command's calculation, and so is likely to be about 10% larger.
43 =item B<-path> <I<dir/file path>>+
45 Names a file or directory that resides on the partition about which to
46 produce output. Partial pathnames are interpreted relative to the current
47 working directory, which is also the default value if this argument is
52 Print space in a "human-readable" format. Instead of always printing space
53 in kilobytes, show disk space in kilobytes, megabytes, gigabytes,
54 terabytes, or petabytes, as appropriate.
58 Prints the online help for this command. All other valid options are
65 The output reports the following information about the volume and
66 partition that houses each file or directory:
72 The name of the volume.
76 The partition's total size. If B<-human> is not specified, this value is
81 The amount of space used on the partition. If B<-human> is not specified,
82 this value is in kilobytes.
86 The amount of space available on the partition. If B<-human> is not
87 specified, this value is in kilobytes.
91 The percentage of the partition's total space that is used (the C<used>
92 statistic divided by the C<kbytes> statistic, times 100).
96 If the C<%used> statistic is greater than 90%, it is marked with the
97 string C<<< <<WARNING >>> at the right margin.
99 If the volume is a read-only volume, the output includes information about
100 only one of the partitions that houses it, generally the one on the file
101 server machine with the lowest preference rank. To verify which machine
102 the output is referring to, use the B<vos listvldb> command to list the
103 volume's locations, and the B<vos partinfo> command to display the size of
108 The following example shows the output for the partitions housing the
109 volumes C<user.smith> and C<sun4x_56.bin>:
111 % fs diskfree -path /afs/example.com/usr/smith /afs/example.com/sun4x_56/bin
112 Volume Name total used avail %used
113 user.smith 4177920 3841258 336662 92% <<WARNING
114 sun4x_56.bin 4423680 3174500 1249180 72%
116 =head1 PRIVILEGE REQUIRED
118 The issuer must have the C<r> (read) permission on the ACL of the root
119 directory of the volume that houses the file or directory named by the
120 B<-path> argument, and C<l> (list) permission on the ACL of each
121 directory that precedes it in the pathname.
129 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
131 This documentation is covered by the IBM Public License Version 1.0. It was
132 converted from HTML to POD by software written by Chas Williams and Russ
133 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.