Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: John Riddoch <jr@NOSPAMscms.rgu.ac.uk>
Subject: Re: how can unpriviledge user use quota?
Date: 1998/02/23	[thread overview]
Message-ID: <34F1AD7A.2D56C36A@NOSPAMscms.rgu.ac.uk> (raw)
In-Reply-To: Pine.SUN.3.95.980214140042.16553A-100000@garcia.efn.org


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



  parent reply	other threads:[~1998-02-23  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
1998-02-19  5:00 ` Bob Vickers
1998-02-21  5:00   ` Stephane Brunet
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox