12-09-2011
repquota is a linux command used to report current quota configuration.
I'm not aware of somehting called "quota number system". Maybe you're referring to the numbering scheme used to edit a quota (edquota).
If that's the case they represent the number of blocks. The actual size (in MB or GB) depends on the block size of your filesystem (use dumpe2fs to find the block size).
Last edited by verdepollo; 12-09-2011 at 11:21 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a C shell command (or script anyone knows of) that will return the IP number of the system? I know that 'hostname' returns the host name, but I need the IP number, and I cannot assume access to 'nslookup'. :confused: (2 Replies)
Discussion started by: Splatt
2 Replies
2. UNIX for Dummies Questions & Answers
Hello:
I'm trying to run repquota -ag > /home/usersdir/repquota.txt as a daily cronjob at midnight, but the file always ends up blank.
I even tried writing a quick Perl script to e-mail me what running that command outputs, and it's nothing.
Can root run repquota as a cronjob? Do I have... (1 Reply)
Discussion started by: b416
1 Replies
3. UNIX for Advanced & Expert Users
Does anyone know what pipe string might be used to determine how many people are logged onto an AIX system where a group ID begins with lets say 4.
In other words, I am looking to query the system for the number of people currently logged onto a system that belong to any group starting with 4.... (1 Reply)
Discussion started by: afiore
1 Replies
4. UNIX for Dummies Questions & Answers
Guys , i have created diskquota on group and user, however when i use repquota /home i get the user names and the quota values all right, however when i set one for a group i cant check it with repquota -g.
help pls (0 Replies)
Discussion started by: dplate07
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
Anyone can tell me how to get the number of NFS threads RUNNING on the system for Solaris 10? Someone told me for Solaris 9, the method is "echo "*svc$<svcpool" | adb -k. But, I've tried to google the method for Solaris 10 and did not find the corresponding method, please help... (1 Reply)
Discussion started by: wang.caiqi
1 Replies
6. Shell Programming and Scripting
Good morning everybody,
I'm using Minix and I want to find the user with less number of files in the system
I have tried this solution:
#! /bin/sh
indice=0
listaCut=$(cut -f 3 -d : /etc/passwd)
for USER in $listaCut; do
cont=0
listaFind=$(find / -user "${USER}" -type -f)
... (4 Replies)
Discussion started by: Guccio
4 Replies
7. HP-UX
$ uname -a
HP-UX chd007d B.11.23 U 9000/800 3154283600 unlimited-user license
Thanks (7 Replies)
Discussion started by: Maddy123
7 Replies
8. Solaris
Hi friends, Please let me know if there is any way to find out Major and Minor numbers of virtual file system like below:
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K ... (8 Replies)
Discussion started by: nitj
8 Replies
9. Red Hat
I have configured quota on (/ partition) my RHEL 5 machine .Repquota -a and Repquota -u filesystem_name commands are working fine but when i enter Repquota -u user_name it gives following error .
repquota: can't stat() given mountpoint user_name: no such file or directory skipping ...... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
10. Solaris
Hello to all,
what is the command in Solaris/Unix which I can use to determine how many hard disks exist in the system?
I have tried with different command such as df -lk and similar but cannot know for sure how many actual disks are installed.
Commands like # fdisk -l | grep Disk and #... (14 Replies)
Discussion started by: Mick
14 Replies
LEARN ABOUT REDHAT
setquota
SETQUOTA(8) System Manager's Manual SETQUOTA(8)
NAME
setquota - set disk quotas
SYNOPSIS
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] name block-softlimit block-hardlimit inode-softlimit inode-hardlimit -a | filesys-
tem...
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] [ -p protoname ] name -a | filesystem...
/usr/sbin/setquota -t [ -u | -g ] [ -F quotaformat ] block-grace inode-grace -a | filesystem...
DESCRIPTION
setquota is a command line quota editor. The filesystem, user/group name and new quotas for this filesystem can be specified on the com-
mand line.
-r Edit also remote quota use rpc.rquotad on remote server to set quota.
-F quotaformat
Perform setting for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota),
vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem)
-u Set user quotas for named user. This is the default.
-g Set group quotas for named group.
-p protoname
Use quota settings of user or group protoname to set the quota for the named user or group.
-t Set grace times for users/groups. Times block-grace and inode-grace are specified in seconds.
-a Go through all filesystems with quota in /etc/mtab and perform setting.
To disable a quota, set the coresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.
Only the super-user may edit quotas.
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/mtab mounted filesystem table
SEE ALSO
edquota(8), quota(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8)
SETQUOTA(8)