QUOTASYNC(1) General Commands Manual QUOTASYNC(1)NAME
quotasync - synchronize in-kernel file system usage and limits to disk format
SYNOPSIS
quotasync [ -ug ] mount-point...
quotasync [ -ug ] -a
quotasync -h | -V
DESCRIPTION
quotasync flushes file system usage and limits from kernel memory to quota files stored in the file system. By default only the user quotas
are synchronized.
This tool can be useful if you want to display accurate quotas by tools that parse quota files, like repquota(8).
OPTIONS -u, --user
Synchronize user usage and limits.
-g, --group
Synchronize group usage and limits.
-a, --all
Synchronize usage and limits on all file systems. You have to specify this option or to specify desired file systems.
-V, --version
Show program version information and exit.
-h, --help
Show program usage and exit.
DIAGNOSTICS
If requested synchronization fails, or invalid option is given, quotasync will terminate with non-zero exit code. Otherwise it will return
zero.
FILES
aquota.user or aquota.group
Quota file at the file system root (version 2 quota, non-XFS/GFS2 file systems).
quota.user or quota.group
Quota file at the file system root (version 1 quota, non-XFS/GFS2 file systems).
/etc/mtab List of mounted file systems maintained by user space.
/proc/mounts List of mounted file systems maintained by kernel.
SEE ALSO quota(1), quotactl(2), mount(8), quotacheck(8), quotaon(8), repquota(8), warnquota(8).
QUOTASYNC(1)
Check Out this Related Man Page
QUOTA(1) General Commands Manual QUOTA(1)NAME
quota - display disk usage and limits
SYNOPSIS
quota [ -F format-name ] [ -guvs | q ]
quota [ -F format-name ] [ -uvs | q ] user
quota [ -F format-name ] [ -gvs | q ] group
DESCRIPTION
quota displays users' disk usage and limits. By default only the user quotas are printed.
quota reports the quotas of all the filesystems listed in /etc/mtab. For filesystems that are NFS-mounted a call to the rpc.rquotad on the
server machine is performed to get the information.
OPTIONS -F format-name
Show quota 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)
-g Print group quotas for the group of which the user is a member. The optional
-u flag is equivalent to the default.
-v will display quotas on filesystems where no storage is allocated.
-s flag will make quota(1) try to choose units for showing limits, used space and used inodes.
-q Print a more terse message, containing only information on filesystems where usage is over quota.
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 the
-g flag and optional group argument to view only the limits of groups of which they are members.
The -q flag takes precedence over the -v flag.
DIAGNOSTICS
If quota exits with a non-zero status, one or more filesystems are over quota.
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 default filesystems
SEE ALSO quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8)QUOTA(1)
Dear Group,
I am not much used to UNIX. The company I am hosting wiht refuses to help me with this trouble, but as near as I can see, it is NOT my trouble.
I have had this service for over a year. I just renewed for another year and all of a sudden the disk quota has been disappearing. I... (3 Replies)
I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Hi ,..
I am working on a script like....
it has to monitor the disk usage (df -H) and if usage is above 95% then it has to return the particular mount point details...
i am in confusion to use awk or sed.....
regards
rrs (1 Reply)
Hi all!
I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed:
du -hs
It showed me:
76K .
But when I used quota command, it showed me:
Disk quotas for user X (uid *********):
Filesystem blocks quota ... (2 Replies)
Hi all,
I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Hi everyone
I'm really new to all this but i need help creating a script that will produce the following for each user when they log on using bash
You are currently using 91% of your quota
Consider reducing your usage
The 10 biggest directories in your home directory are:
Size Directory... (2 Replies)
How can i put quota on a directory in Linux ( /data ) my file systems are not mounted with quota option and i cannot reboot the system also. I read somewhere to do this via linux virtual file system .. just wanted to have
opinion on it. (1 Reply)
hello..
My task now is to set memory limits to users in a linux system. I found out two ways, one is using disk quotas and the other is using PAM. But my question here is what is the difference between these two. We have 'memlock' in PAM and we can set limits using quota also. Are they both... (2 Replies)
I have setup a group quota for better disk usage.
What i am doing is to setup a quota with Samba share. I created user1,user2 and group project1 which belongs to /home/project1 dir. Quota is implemented on project1 group to write 100 MB on this share and This is working fine if a user1 and user2... (3 Replies)
I have written a C++ program to perform raytracing and would want to write some functions to help the user: examples, usage, help
I am wondering how this is done. Would I just put some functions in the main program? (4 Replies)