xfsquota

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2022 License: Apache-2.0

README

xfsquota

xfsquota is a tool for managing XFS quotas

Feature

  • support set quota
  • support get quota
  • clean quota

Usage

xfsquota is a tool for managing XFS quotas

Usage:
  xfsquota [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  get         Get quota information
  help        Help about any command
  set         Set quota information
  version     get version

Flags:
  -h, --help   help for xfsquota

Use "xfsquota [command] --help" for more information about a command.
Set Quota

set quota size 1MiB ,inodes 20 for path /data/test/quota

> xfsquota set /data/test/quota  -s 1MiB -i 20

set quota success, path: /data/test/quota, size:1MiB, inodes:20
Get Quota

get quota for path /data/test/quota

> xfsquota get /data/test/quota

quota Size(bytes): 1048576
quota Inodes: 20
diskUsage Size(bytes): 0
diskUsage Inodes: 1

build

make build

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL