* how can unpriviledge user use quota?
@ 1998-02-13 5:00 anthony alvarez
1998-02-14 5:00 ` /dev/zero
1998-02-19 5:00 ` Bob Vickers
0 siblings, 2 replies; 6+ messages in thread
From: anthony alvarez @ 1998-02-13 5:00 UTC (permalink / raw)
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.
>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?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how can unpriviledge user use quota?
1998-02-13 5:00 how can unpriviledge user use quota? anthony alvarez
@ 1998-02-14 5:00 ` /dev/zero
1998-02-16 5:00 ` David R. Brandt
1998-02-23 5:00 ` John Riddoch
1998-02-19 5:00 ` Bob Vickers
1 sibling, 2 replies; 6+ messages in thread
From: /dev/zero @ 1998-02-14 5:00 UTC (permalink / raw)
To: anthony alvarez
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 drugs - | Eric DeArment |
| The only dope worth | ejd@efn.org |
| shooting is Richard | ejd@m-net.arbornet.org |
| Nixon." -Abbie Hoffman, | Team Ada "member" & |
| "Steal This Book" | Socialist |
---------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how can unpriviledge user use quota?
1998-02-14 5:00 ` /dev/zero
@ 1998-02-16 5:00 ` David R. Brandt
1998-02-23 5:00 ` John Riddoch
1 sibling, 0 replies; 6+ messages in thread
From: David R. Brandt @ 1998-02-16 5:00 UTC (permalink / raw)
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
dbrandt3@ford.com
These are my opinions, not my employer's.
/dev/zero wrote:
>
> 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-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how can unpriviledge user use quota?
1998-02-14 5:00 ` /dev/zero
1998-02-16 5:00 ` David R. Brandt
@ 1998-02-23 5:00 ` John Riddoch
1 sibling, 0 replies; 6+ messages in thread
From: John Riddoch @ 1998-02-23 5:00 UTC (permalink / raw)
/dev/zero wrote:
>
> 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)
> 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
Email jr@scms.rgu.ac.uk Telephone: (01224)262721
I don't suffer from insanity, I enjoy every minute of it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how can unpriviledge user use quota?
1998-02-13 5:00 how can unpriviledge user use quota? anthony alvarez
1998-02-14 5:00 ` /dev/zero
@ 1998-02-19 5:00 ` Bob Vickers
1998-02-21 5:00 ` Stephane Brunet
1 sibling, 1 reply; 6+ messages in thread
From: Bob Vickers @ 1998-02-19 5:00 UTC (permalink / raw)
To: anthony alvarez
anthony alvarez wrote:
>
> 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
--
======================================================================
Bob Vickers R.Vickers@dcs.rhbnc.ac.uk
Dept of Computer Science, Royal Holloway College, University of London
WWW: http://www.cs.rhbnc.ac.uk/home/bobv
Phone: +44 1784 443691
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how can unpriviledge user use quota?
1998-02-19 5:00 ` Bob Vickers
@ 1998-02-21 5:00 ` Stephane Brunet
0 siblings, 0 replies; 6+ messages in thread
From: Stephane Brunet @ 1998-02-21 5:00 UTC (permalink / raw)
Aside from the obvious quota command, there's the obvious du command.
type "du -k" (for kbytes) to see total kbyte usage.
Bob Vickers wrote:
>
> anthony alvarez wrote:
> >
> > 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
> --
> ======================================================================
> Bob Vickers R.Vickers@dcs.rhbnc.ac.uk
> Dept of Computer Science, Royal Holloway College, University of London
> WWW: http://www.cs.rhbnc.ac.uk/home/bobv
> Phone: +44 1784 443691
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-02-23 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-13 5:00 how can unpriviledge user use quota? anthony alvarez
1998-02-14 5:00 ` /dev/zero
1998-02-16 5:00 ` David R. Brandt
1998-02-23 5:00 ` John Riddoch
1998-02-19 5:00 ` Bob Vickers
1998-02-21 5:00 ` Stephane Brunet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox