quota(1) General Commands Manual quota(1)Name
quota - display disk usage and limits
Syntax
quota [-qv] [user...]
Description
The command displays users' disk usage and limits. Only the super-user may use the optional user argument to view the limits of users
other than himself.
The command reports only on file systems which have disk quotas. If exits with a non-zero status, one or more file systems are over quota.
Options-q Prints a message that contains information only on file systems where usage is over quota
-v Displays users quotas on file systems where no storage is allocated.
See Alsoquota(2), edquota(8), quotaon(8),
"Disk Quotas in a UNIX Environment", ULTRIX Supplementary Documents
Vol. III: System Manager
quota(1)
Check Out this Related Man Page
QUOTA(1) BSD General Commands Manual QUOTA(1)NAME
quota -- display disk usage and limits
SYNOPSIS
quota [-ghu] [-v | -q]
quota [-hu] [-v | -q] user
quota [-gh] [-v | -q] group
quota -d [-gh] [-v | -q]
DESCRIPTION
quota displays users' disk usage and limits. By default only the user quotas are printed.
Options:
-d Query the kernel for default user or group quota instead of a specific user or group.
-g Print group quotas for the group of which the user is a member. The optional -u flag is equivalent to the default.
-h Numbers are displayed in a human readable format.
-q Print a more terse message, containing only information on file systems where usage is over quota.
-v quota will display quotas on file systems where no storage is allocated.
Specifying both -g and -u displays both the user quotas and the group quotas (for the user).
Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the -g
flag and optional group argument to view only the limits of groups of which they are members.
Only the super-user may use the -d flag.
The -q flag takes precedence over the -v flag.
quota tries to report the quotas of all mounted file systems. If the file system is mounted via NFS it will attempt to contact the
rpc.rquotad(8) daemon on the NFS server. If quota exits with a non-zero status, one or more file systems are over quota.
SEE ALSO libquota(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8)HISTORY
The quota command appeared in 4.2BSD.
BSD May 12, 2012 BSD
I am getting this email error now from a script (which I have not changed and has bee up for a while)
Subject: Cron <aquarank@fish> /home/aquarank/www/cgi-bin/cron/rerank.cgi
/bin/date: write error: File too large
What file is too large? (9 Replies)
Hello,
I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
I keep on getting an error on my site saying
I've got a 250GB dedicated server, and have used less than 200mb of that.
The site has only been on the server for just over a month.
What does this mean and how can I sort it? (8 Replies)
I'm having trouble setting up passwordless ssh; specifically - I can only setup 2 remote hosts because when I try to add another to my known_hosts file it just won't. More investigation reveals various errors relating to 'No space left on device'.
There is plenty of free disk space; user quotas... (9 Replies)
Hi peeps,
I have a teenage lad who needs to learn some discipline with internet access etc. etc. My main problem is that he is downloading so much that he is using more than his fair share. What I'd like to do is set a download quota for him so that he can learn what this all means. Can... (10 Replies)
Hello, I am running a Solaris 8 system.
I Have encountered that each time I ask the system to report to me the users who have or are about to exceed their quota limit for disk usage, a strange number appears in a user name, it does not appear in my /etc/group or in my /etc/passwd files
The user... (13 Replies)
Hi,
I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold.
I have made a script for it but I am facing an error while executing it.
Could any one here guide me further??
Script
#!/bin/sh
warninglimit=350000... (22 Replies)
Hi All,
for a script I'm writing I need to be able to put the following command in a variable:
tail -30 <file> | egrep "JBoss \(MX MicroKernel\) .* Started"
I thought surround it with single quotes would work. However, it doesnt escape the wildcard, and results in the wildcard being expanded... (8 Replies)
I haven't been able to do anything since yesterday evening because my account is full to the brim. Very annoying on a Friday evening when no admin will be in until Monday morning. Of course, I might consider cleaning up if I knew where the problem is, but I can't figure it out because du and df... (8 Replies)
I have a csv file with 3 columns. Fields are comma delimited and strings are enclosed with quotation marks "". About 40% of the time, the line of values will start a new line thanks to carriage return characters within a string.
Example:
"apple","banana","orange"
"pineapple","grape","straw... (6 Replies)
This is the full file name I get when I do ls -lt from my current directory.
EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz
File names also consist of date as well. In the above file date is 20120811.
So I am trying to delete all the files which starts with EXPORT_v1x0 and whose... (7 Replies)
There is a closed thread called "carriage returns within quotation marks causing new lines in csv" that I am unable to post to, so I am starting a new thread.
The awk solution worked perfectly in most cases. We have some cases where there are multiple carriage returns within a single quoted... (9 Replies)
First post on this excellent forum.
I have problem using an variable in sed. I've been quoting until my eyes bleeds now:o
I want to match IPV6 addresses and join it with the line that follows.
This works when i use it without an variable.
cat test.txt | sed -e '/^2001/{N;s/\n//;}' But when... (9 Replies)