1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="fs_diskfree1">
4 <refentrytitle>fs diskfree</refentrytitle>
5 <manvolnum>1</manvolnum>
8 <refname>fs diskfree</refname>
9 <refpurpose>Shows data about the partition housing a directory or file</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">fs diskfree</emphasis> [<emphasis role="bold">-path</emphasis> <<emphasis>dir/file path</emphasis>>+] [<emphasis role="bold">-help</emphasis>]</para>
15 <para><emphasis role="bold">fs df</emphasis> [<emphasis role="bold">-p</emphasis> <<emphasis>dir/file path</emphasis>>+] [<emphasis role="bold">-h</emphasis>]</para>
17 <para><emphasis role="bold">fs di</emphasis> [<emphasis role="bold">-p</emphasis> <<emphasis>dir/file path</emphasis>>+] [<emphasis role="bold">-h</emphasis>]</para>
21 <title>Description</title>
22 <para>The <emphasis role="bold">fs diskfree</emphasis> command formats and displays information about the
23 partition that houses the volume containing the specified directory or
24 file, including its size and how much space is currently used.</para>
26 <para>To display information about the volume itself, use the <emphasis role="bold">fs examine</emphasis>
27 command. The <emphasis role="bold">fs examine</emphasis> and <emphasis role="bold">fs quota</emphasis> commands also display
28 information about a volume.</para>
32 <title>Cautions</title>
33 <para>The partition-related statistics in this command's output do not always
34 agree with the corresponding values in the output of the standard UNIX
35 <emphasis role="bold">df</emphasis> command. The statistics reported by this command can be up to five
36 minutes old, because the Cache Manager polls the File Server for partition
37 information at that frequency. Also, on some operating systems, the <emphasis role="bold">df</emphasis>
38 command's report of partition size includes reserved space not included in
39 this command's calculation, and so is likely to be about 10% larger.</para>
43 <title>Options</title>
46 <term><emphasis role="bold">-path</emphasis> <<emphasis>dir/file path</emphasis>>+</term>
48 <para>Names a file or directory that resides on the partition about which to
49 produce output. Partial pathnames are interpreted relative to the current
50 working directory, which is also the default value if this argument is
56 <term><emphasis role="bold">-help</emphasis></term>
58 <para>Prints the online help for this command. All other valid options are
67 <para>The output reports the following information about the volume and
68 partition that houses each file or directory:</para>
72 <term>Volume Name</term>
74 <para>The name of the volume.</para>
81 <para>The partition's total size in kilobytes.</para>
88 <para>The number of kilobytes used on the partition.</para>
95 <para>The number of kilobytes available on the partition.</para>
102 <para>The percentage of the partition's total space that is used (the <computeroutput>used</computeroutput>
103 statistic divided by the <computeroutput>kbytes</computeroutput> statistic, times 100).</para>
108 <para>If the <computeroutput>%used</computeroutput> statistic is greater than 90%, it is marked with the
109 string <computeroutput><<WARNING</computeroutput> at the right margin.</para>
111 <para>If the volume is a read-only volume, the output includes information about
112 only one of the partitions that houses it, generally the one on the file
113 server machine with the lowest preference rank. To verify which machine
114 the output is referring to, use the <emphasis role="bold">vos listvldb</emphasis> command to list the
115 volume's locations, and the <emphasis role="bold">vos partinfo</emphasis> command to display the size of
120 <title>Examples</title>
121 <para>The following example shows the output for the partitions housing the
122 volumes <computeroutput>user.smith</computeroutput> and <computeroutput>sun4x_56.bin</computeroutput>:</para>
125 % fs diskfree -path /afs/abc.com/usr/smith /afs/abc.com/sun4x_56/bin
126 Volume Name kbytes used avail %used
127 user.smith 4177920 3841258 336662 92% &lt;&lt;WARNING
128 sun4x_56.bin 4423680 3174500 1249180 72%
133 <title>Privilege Required</title>
134 <para>The issuer must have the <computeroutput>l</computeroutput> (lookup) permission on the ACL of the root
135 directory of the volume that houses the file or directory named by the
136 <emphasis role="bold">-path</emphasis> argument, and on the ACL of each directory that precedes it in
141 <title>See Also</title>
142 <para><link linkend="fs_examine1">fs_examine(1)</link></para>
146 <title>Copyright</title>
147 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
149 <para>This documentation is covered by the IBM Public License Version 1.0. It was
150 converted from HTML to POD by software written by Chas Williams and Russ
151 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>