Query BeeGFS for Disk Quota
beegfs_quota(which = "<current>", storagepool, what = c("user", "group"))
A data.frame (tibble)
This function queries beegfs-ctl
on the system.
if (FALSE) { # \dontrun{
## The current user
quota <- beegfs_quota(what = "user", storagepool = 11L)
print(quota)
## The current group
quota <- beegfs_quota(what = "group", storagepool = 11L)
print(quota)
## All groups
quota <- beegfs_quota(which = NULL, what = "group", storagepool = 12L)
quota <- subset(quota, !is.na(max_size) & max_size > 1)
quota$use <- with(quota, size / max_size)
print(quota)
} # }