how can unpriviledge user use quota?

how can unpriviledge user use quota?

Post by anthony alvar » Sat, 14 Feb 1998 04:00:00



Konichiwa,

I am managing an Internet Service. What command can customers use
to figure out how much disk quota being they are using? Please advise.
Thank you.

Quote:>I'm still having problems with the uploading of files.  I went in and
>deleted some very big files from the public_html directory where my pages
>are stored and it should have provided a lot of space for some text files.
>The message I am still receiving is that the disc quota is exceeded.  Do I
>need to do anything else besides delete those files or does it take some
>time for the server to recognize this?  I have also been trying to telnet
>and find out how much space I have, but the quota -v command is not
>working?  How can I find out on a regular basis my space?
>Please let me know what may be the problem?

 
 
 

how can unpriviledge user use quota?

Post by /dev/zer » Sun, 15 Feb 1998 04:00:00


Depends.  If the machine at your ISP has it, users can just type "quota"
and that should display a message that tells them how much disk space they
have left.  Actually, if you've established disk quotas, the quota program
is probably already on there.  If it isn't, however, then they can go into
their home directory and type "ls -l", find out the total amount of memory
that their directory's contents use, add that up and then subtract it from
the amount of quota space available to them :)

                                                -Eric-

---------------------------------------------------------
| "Avoid all needle * - |     Eric DeArment         |


|  Nixon." -Abbie Hoffman,  |    Team Ada "member" &    |
|  "Steal This Book"        |        Socialist          |
---------------------------------------------------------

 
 
 

how can unpriviledge user use quota?

Post by David R. Brand » Tue, 17 Feb 1998 04:00:00


On my system, "ls -l" only lists the size of the files and
directories in the current directory, and thus doesn't add up
the size of files in subdirectories.  To get an accurate view
of the size of my home directory and all its subdirectories,
I type "du -s ~".  (Check the man pages to get a more elaborate
response.)  This gives a fairly accurate total, though I think
links can throw it off.

David Brandt

These are my opinions, not my employer's.


> Depends.  If the machine at your ISP has it, users can just type "quota"
> and that should display a message that tells them how much disk space they
> have left.  Actually, if you've established disk quotas, the quota program
> is probably already on there.  If it isn't, however, then they can go into
> their home directory and type "ls -l", find out the total amount of memory
> that their directory's contents use, add that up and then subtract it from
> the amount of quota space available to them :)

>                                                 -Eric-

 
 
 

how can unpriviledge user use quota?

Post by Bob Vicker » Fri, 20 Feb 1998 04:00:00



> Konichiwa,

> I am managing an Internet Service. What command can customers use
> to figure out how much disk quota being they are using? Please advise.
> Thank you.

In Digital Unix the quota command is hidden in /usr/sbin directory,
which typically is not in the default user's path. But they can specify
the command explicitly as
        /usr/sbin/quota
or you could set up a soft link from /usr/local/bin.

Bob
--
======================================================================

Dept of Computer Science, Royal Holloway College, University of London
WWW:    http://www.cs.rhbnc.ac.uk/home/bobv
Phone:  +44 1784 443691

 
 
 

how can unpriviledge user use quota?

Post by Stephane Brune » Sun, 22 Feb 1998 04:00:00


Aside from the obvious quota command, there's the obvious du command.
type "du -k" (for kbytes) to see total kbyte usage.



> > Konichiwa,

> > I am managing an Internet Service. What command can customers use
> > to figure out how much disk quota being they are using? Please advise.
> > Thank you.

> In Digital Unix the quota command is hidden in /usr/sbin directory,
> which typically is not in the default user's path. But they can specify
> the command explicitly as
>         /usr/sbin/quota
> or you could set up a soft link from /usr/local/bin.

> Bob
> --
> ======================================================================

> Dept of Computer Science, Royal Holloway College, University of London
> WWW:    http://www.cs.rhbnc.ac.uk/home/bobv
> Phone:  +44 1784 443691

 
 
 

how can unpriviledge user use quota?

Post by John Riddoc » Tue, 24 Feb 1998 04:00:00



> Depends.  If the machine at your ISP has it, users can just type "quota"
> and that should display a message that tells them how much disk space they
> have left

quota -v is better (show all volume quotas)

Quote:>  If it isn't, however, then they can go into
> their home directory and type "ls -l", find out the total amount of memory
> that their directory's contents use, add that up and then subtract it from
> the amount of quota space available to them :)

Hrm. This will ignore all subdirectories and hidden files and count
hard linked files twice.  A better guide is:
cd
du -sdk .

du -sdk may not work; try du -s or du -k (I forget the exact syntax
for non Solaris machines).

--
John Riddoch                            Programmer/Webmaster
Room C6, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG

I don't suffer from insanity, I enjoy every minute of it.

 
 
 

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

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.                                     |
|---------------------------------------------------------------------------|

2. Installing the New Linux

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

4. pingable but not able to ping

5. how to create unpriviledged user for MySQL

6. IPCHAINS not working

7. user quotas and printer usage quotas on NT domain

8. Probably the wrong place to ask

9. quota: format of quota.user

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

11. Quota without using a template user?

12. New user: Using Quotas

13. firewalls, and sendmail setting itself unpriviledged