LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2011, 02:17 AM   #1
mspatil0037
LQ Newbie
 
Registered: Mar 2010
Location: Bangalore,India
Distribution: Red Hat
Posts: 26

Rep: Reputation: 0
Quota


How to check quota of a user in UNIX/Linux?
 
Old 08-01-2011, 02:30 AM   #2
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
This will help: http://linux.about.com/library/cmd/blcmdl1_quota.htm
 
Old 08-04-2011, 12:18 AM   #3
troysunix
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Rep: Reputation: 1
@mspatil0037

In addition to digsecurity's suggestion, have a look at repquota(8). As an example of usage, running quota as a user:
Code:
scottm@tux [0] /usr/bin/quota -ug
Disk quotas for user scottm (uid 1002): none
Disk quotas for group sysvuser (gid 1000):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sdc1    6162*   5120       0    none       6*      5       0    none
scottm@tux [1]
whereas repquota as root:
Code:
root@tux [0] /usr/sbin/repquota -g /users
*** Report for group quotas on device /dev/sdc1
Block grace time: 00:05; Inode grace time: 00:05
                        Block limits                File limits
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --   11292       0       0              4     0     0 
sysvuser  -+       4    5120       0             11     5     0   none
bsduser   --       4       0       0              2     0     0 

root@tux [0]
I have posted further quota usage examples here if it can be of any assistance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Quota + Print Quota dimingo Linux - Newbie 1 09-25-2008 01:31 AM
Quota viral_Ahire Linux - Software 2 03-12-2008 07:08 AM
Quota help! dlc2000 Linux - Newbie 7 12-23-2006 07:48 PM
procmail+quota+bounch mail+but no quota full msg to receipent mickyman Linux - General 3 03-02-2006 04:32 AM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 12:13 PM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration