How do i display file system statistics?



  • Man page for stat.

    Also see: How do i display file statistics?

          -f, --file-system
                  display file system status  instead  of
                  file status
    

    Display file system statistics. The stat command is used similar to file statistics, but the -f option is used.

    $ stat -f /tmp
      File: "/tmp"
        ID: fd0000000000 Namelen: 255     Type: xfs
    Block size: 4096       Fundamental block size: 4096
    Blocks: Total: 10738562   Free: 8340119    Available: 8340119
    Inodes: Total: 21487616   Free: 21257042
    

 

© Lightnetics 2019