REPQUOTA(8)

πŸ“¦
version 4.11 Β· 4 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… REPQUOTA β€” the manual page, but make it cute

okay bestie, welcome to repquota, section 8 of the System Manager's Manual. it's the girl who summarizes quotas for a filesystem, and she ate. let's get into it 🫢


✨ NAME ✨

repquota β€” summarize quotas for a filesystem πŸ’–


🌸 SYNOPSIS 🌸

/usr/sbin/repquota [ -vspiugP ] [ -c | -C ] [ -t | -n ] [ -F format-name
] filesystem...

/usr/sbin/repquota [ -avtpsiugP ] [ -c | -C ] [ -t | -n ] [ -F format-
name ]

like, two whole ways to call her. pick your fighter. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

repquota prints a summary of the disc usage and quotas for the specified file systems. periodt. for each user it prints the current number of files and the amount of space (in kilobytes), along with any quota limits that were set with edquota(8) or setquota(8). the way that it's all just there for you? iconic.

now, in the second column repquota prints two characters marking which limits are exceeded, and this is the part where you gotta pay attention bestie:

  • if the user is over their space softlimit, or reaches their space hardlimit in the case where softlimit is unset, the first character is +. otherwise the character printed is -.
  • the second character denotes the state of inode usage, analogously. same energy, different resource. πŸ’€

repquota has to translate the ids of all users/groups/projects to names (unless option -n was specified), so yeah, it may take a while to print all the information. lowkey a slow queen sometimes. to make translating as fast as possible, repquota tries to detect β€” by reading /etc/nsswitch.conf β€” whether entries are stored in a standard plain text file or in a database, and then it either translates chunks of 1024 names or each name individually. you can override this autodetection with the -c or -C options. you're in charge, main character. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -a, --all β€” Report on all filesystems indicated in /etc/mtab to be read-write with quotas. all of them, bestie. every single one. πŸ”₯
  • -v, --verbose β€” Report all quotas, even if there is no usage. also be more verbose about quotafile information. she's chatty, we love her. πŸ’¬
  • -c, --cache β€” Cache entries to report and translate uids/gids to names in big chunks by scanning all users (this is the default). this is the good (fast) behaviour when you're using an /etc/passwd file. ✨
  • -C, --no-cache β€” Translate individual entries. this is faster when you have users stored in a database. different strokes, still slay. πŸ¦‹
  • -t, --truncate-names β€” Truncate user/group names longer than 9 characters. this results in nicer output when there are such names. yes it's a little rude to the names but the output is cuter. πŸ™ˆ
  • -n, --no-names β€” Don't resolve UIDs/GIDs to names. this can speed up printing a lot. no cap, it's a huge glow-up for speed. πŸ”₯
  • -s, --human-readable[=units] β€” Try to report used space, number of used inodes and limits in more appropriate units than the default ones. units can also be specified explicitely by an optional argument in the format [ kgt ],[ kgt ], where the first character specifies space units and the second character specifies inode units. so like, two little letters doing so much work. πŸ’…
  • -p, --raw-grace β€” When the user is in grace period, report the time in seconds since epoch when their grace time runs out (or has run out). the field is '0' when no grace time is in effect. this is especially useful when parsing output by a script. robot-readable, we stan. πŸ€–
  • -i, --no-autofs β€” Ignore mountpoints mounted by automounter. not today, autofs. πŸ’€
  • -F, --format=format-name β€” Report quota for the specified format (ie. don't perform format autodetection). possible format names are:
    • vfsold β€” Original quota format with 16-bit UIDs / GIDs
    • vfsv0 β€” Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits
    • vfsv1 β€” Quota format with 64-bit quota limits and usage
    • xfs β€” quota on XFS filesystem
  • -g, --group β€” Report quotas for groups. group chat energy fr fr. 🫢
  • -P, --project β€” Report quotas for projects. project managers, this one's for you. πŸ“
  • -u, --user β€” Report quotas for users. this is the default. she's the baseline, the blueprint, the moment. ⭐
  • -O, --output=format-name β€” Output quota report in the specified format. possible format names are:
    • default β€” The default format, optimized for console viewing
    • csv β€” Comma-separated values, a text file with the columns delimited by commas
    • xml β€” Output is XML encoded, useful for processing with XSLT
⚠️ only the super-user may view quotas which are not their own. so like, know your lane bestie, the permissions said what they said. πŸ”’

πŸŽ€ FILES πŸŽ€

  • aquota.user or aquota.group β€” quota file at the filesystem root (version 2 quota, non-XFS filesystems)
  • quota.user or quota.group β€” quota file at the filesystem root (version 1 quota, non-XFS filesystems)
  • /etc/mtab β€” default filesystems
  • /etc/passwd β€” default set of users
  • /etc/group β€” default set of groups

🌈 SEE ALSO 🌈

quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8), quota_nld(8), setquota(8), warnquota(8)

go read them too, they're all part of the same friend group. πŸ’œ


and that's the whole page, bestie! this one comes to you from the 4th Berkeley Distribution β€” yeah, she's got history, she's got lore β€” and this is REPQUOTA(8), the section 8 manual page. mwah. πŸ’–βœ¨