• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# statfs<a name="EN-US_TOPIC_0000001179965853"></a>
2
3-   [Command Function](#section153921657152613)
4-   [Syntax](#section135391102717)
5-   [Parameters](#section074312314279)
6-   [Usage](#section133816772712)
7-   [Example](#section526149182717)
8
9## Command Function<a name="section153921657152613"></a>
10
11This command is used to print information about a file system, such as the type, total size, and available size.
12
13## Syntax<a name="section135391102717"></a>
14
15statfs \[_directory_\]
16
17## Parameters<a name="section074312314279"></a>
18
19**Table  1**  Parameter description
20
21<a name="table1597mcpsimp"></a>
22<table><thead align="left"><tr id="row1603mcpsimp"><th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.1"><p id="p1605mcpsimp"><a name="p1605mcpsimp"></a><a name="p1605mcpsimp"></a><strong id="b156942710240"><a name="b156942710240"></a><a name="b156942710240"></a>Parameter</strong></p>
23</th>
24<th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.2"><p id="p1607mcpsimp"><a name="p1607mcpsimp"></a><a name="p1607mcpsimp"></a><strong id="b1759110293240"><a name="b1759110293240"></a><a name="b1759110293240"></a>Description</strong></p>
25</th>
26<th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.3"><p id="p1609mcpsimp"><a name="p1609mcpsimp"></a><a name="p1609mcpsimp"></a><strong id="b10264183019242"><a name="b10264183019242"></a><a name="b10264183019242"></a>Value Range</strong></p>
27</th>
28</tr>
29</thead>
30<tbody><tr id="row1610mcpsimp"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.1 "><p id="p1612mcpsimp"><a name="p1612mcpsimp"></a><a name="p1612mcpsimp"></a>directory</p>
31</td>
32<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.2 "><p id="p1615mcpsimp"><a name="p1615mcpsimp"></a><a name="p1615mcpsimp"></a>Specifies the file system directory.</p>
33</td>
34<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.3 "><p id="p1617mcpsimp"><a name="p1617mcpsimp"></a><a name="p1617mcpsimp"></a>The file system must exist and support the <strong id="b1635148125717"><a name="b1635148125717"></a><a name="b1635148125717"></a>statfs</strong> command. Currently, the file systems JFFS2, FAT, and NFS are supported.</p>
35</td>
36</tr>
37</tbody>
38</table>
39
40## Usage<a name="section133816772712"></a>
41
42The printed information varies depending on the file system.
43
44## Example<a name="section526149182717"></a>
45
46The following uses the NFS as an example:
47
48Run  **statfs /nfs**.
49
50**Figure  1**  Output of the statfs command<a name="fig1810654276"></a>
51![](figure/output-of-the-statfs-command.png "output-of-the-statfs-command")
52
53