From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,6b25f663c56486ef X-Google-Attributes: gidf8c9b,public X-Google-Thread: f678f,6b25f663c56486ef X-Google-Attributes: gidf678f,public X-Google-Thread: 1020c6,6b25f663c56486ef X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,6b25f663c56486ef X-Google-Attributes: gidfee84,public X-Google-Thread: 10b612,5f885cbfe82afcdd X-Google-Attributes: gid10b612,public From: John Riddoch Subject: Re: how can unpriviledge user use quota? Date: 1998/02/23 Message-ID: <34F1AD7A.2D56C36A@NOSPAMscms.rgu.ac.uk>#1/1 X-Deja-AN: 328228159 Content-Transfer-Encoding: 7bit References: <34e3b461.323011686@news.acunet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Robert Gordon University Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.questions,comp.unix.ultrix /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.