Quotas : Format of quota.users & quota.groups ?

Quotas : Format of quota.users & quota.groups ?

Post by S.D. Mottra » Sat, 02 Mar 1996 04:00:00



Hi,

I am running Linux-FT with kernel 1.2.13 and quota patches. I would like
to enable quotas in order to control memory usage by apps (I'm trying to
debug an app that keeps grabbing all system memory, preventing me from
typing kill).

In order to enable quotas, files called quota.users and quota.groups
need to be present in the root directory. The 'edquota'
program is supposed to be used to set these up, but it simply invokes vi,
expecting the user to know the file format. The man pages say that
the file format is 'inscrutable', but don't actually describe it anywhere!

Anyone know the correct format ?

Thanks in advance,

Steve

-----------------------------------------------------------------------------
| Steve Mottram                                                             |
|                                                                           |
| University Department of Anaesthesia  |    Internal Phone : LRI 5694      |
| Leicester Royal Infirmary             |    Phone  :  +44 (0)116 258 5291  |
| Leicester LE1 5WW                     |    Fax    :  +44 (0)116 285 4487  |

|---------------------------------------------------------------------------|
| Witty bit deleted due to budget cuts.                                     |
|---------------------------------------------------------------------------|

 
 
 

Quotas : Format of quota.users & quota.groups ?

Post by Kenneth T » Tue, 05 Mar 1996 04:00:00



>I would like
>to enable quotas in order to control memory usage by apps (I'm trying to
>debug an app that keeps grabbing all system memory, preventing me from
>typing kill).

The quota program controls the DISK quota for the users and groups.
It does NOT control how much memory a program can allocate.

Quote:>In order to enable quotas, files called quota.users and quota.groups
>need to be present in the root directory. The 'edquota'
>program is supposed to be used to set these up, but it simply invokes vi,
>expecting the user to know the file format. The man pages say that
>the file format is 'inscrutable', but don't actually describe it anywhere!

When you type edquota [user], it will fill vi with the template.
Fill in the numerical values within the template only (it's in plain
English, user so-and-so, disk quota of 0 blocks used, soft=0, hard=0 limits,
etc.).

Automan

 
 
 

1. quota: format of quota.user

I am trying to install quota on a RH5.2 install. I created the
files quota.user and quta.group (touch) and rebooted the system. Upon
reboot the system reports something like 'turning on user and group
quota'. I have no quota statement in the /etc/fstab because the manpage
sais 'accepted but ignored'.

However calling edquota gives me an empty file headed by

'Quota for user xxx:'

What is the format for a new entry?

Thx, Rudolf

--

2. Prolog for linux?

3. quota: set quota by group instead of user?

4. RH6.0 XWindows problem

5. RH71: Confused Quotas - quotaon looking for quota.user, edquota looking for aquota.user

6. What is a good 486/5x86 Laptop for Linux?

7. file format of 'quotas' (Solaris disk quota system)?

8. Fujitsu M2511A (optical disk, SCSI-2) will it work w/ Linux ?

9. user quotas and printer usage quotas on NT domain

10. Quotas on Solaris vs quotas on Linux

11. QUOTA - Crashes whenever someone goes over quota

12. quota deadlocks and large quota.*-files

13. /usr/sbin/quota SLOW without quotas