xfs
[Top] [All Lists]

Re: get xfs_quota info as regular user

To: Rene Salmon <rsalmon@xxxxxxxxxx>
Subject: Re: get xfs_quota info as regular user
From: Donald Douwsma <donaldd@xxxxxxx>
Date: Wed, 29 Nov 2006 10:55:35 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <C191AFC3.1D43%rsalmon@tulane.edu>
References: <C191AFC3.1D43%rsalmon@tulane.edu>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20060911)
Rene Salmon wrote:
> Hi,
> 
> 
> Did some searches on the list archives but could not find any useful info on
> this.
> 
> Is there a way for a regular user to get info about his or her quota usage?
> 
> I tried both of these as a regular user and get nothing:
> 
> 120> xfs_quota -c "quota userid"
> 121> xfs_quota -x -c "quota userid"

By default the quota command does not display anything unless the user is 
overquota.
To display the limits set for a user you need to specify the -v option.

xfs_quota -c 'quota -v'

Note there is currently a bug in xfs-cmds that causes xfs_quota to display 
results multiple times
(once for each xfs filesystem). One work around for this is to specify the 
specific filesystem on
the commandline.

xfs_quota -c 'quota -v' /home

Donald



<Prev in Thread] Current Thread [Next in Thread>
  • Re: get xfs_quota info as regular user, Donald Douwsma <=