Report XFS usage

Use the xfs_quota tool to set limits and report on disk usage. By default, xfs_quota is run interactively, and in basic mode. Basic mode subcommands report usage, and are available to all users.

Before you begin

Procedure

  1. Start the xfs_quota shell:
    # xfs_quota
  2. Show usage and limits for the given user:
    xfs_quota> quota username
  3. Show free and used counts for blocks and inodes:
    xfs_quota> df
  4. Run the help command to display the basic commands available with xfs_quota.
    xfs_quota> help
  5. Specify q to exit xfs_quota.
    xfs_quota> q

    For more information, see the xfs_quota(8) man page on your system.