It is currently Mon, 08 Aug 2022 19:10:51 GMT

Author Message
 Determining disk space usage
Hello, I need to determine how much disk space each of several users
is using on a specific file system.  Is there an easy way to do this?
We're using Digital Unix 4.0 on DEC Alphas.  Thanks in advance.
Frank Schnekenburger
Senior Systems Analyst
Forest Landscape Ecology Program
Ministry of Natural Resources
705-946-2981 ext 167
When I grow up I want to be a Third Stage Guild Navigator.

 Thu, 16 May 2002 03:00:00 GMT   
 Determining disk space usage

(1) Use quotas.

(2) find / -user USER | xargs ls -skd | awk '{sum+=$1} END {print sum;}'

So long,


Benedikt Stockebrand, Dipl. Inform.

   Unix- und Netzwerkmanager auf             Unix and network manager
der Suche nach einer neuen Stelle.            looking for a new job.    

 Thu, 16 May 2002 03:00:00 GMT   
 Determining disk space usage
There's a utility in the standard accounting package 'diskusg' that will
do what you want.  Everybody keeps forgetting about the accounting
package that comes standard with almost every flavour of UNIX.


Mike Mohr, Systems Administrator  === Email:
Information Technology Group      === Phone: 64 9 307-9999 x8133
Auckland Institute of Technology  === Fax:   64 9 307-9901
PO Box 92006, Auckland, New Zealand =
If we have unlimited ability to think, why do we use computers?

 Fri, 17 May 2002 03:00:00 GMT   
 Determining disk space usage

There is a command called quot, which does exactly what you want, however
it is a root user only command, since it uses raw devices.
Hope this helps
PS comp.unix.osf.osf1 is a better place for Digital unix questions.
(Compaqs Tru64 Unix used to be Dec's Tru64 Unix which used to be
Digital Unix, which used to be osf1, the newsgroup name needs changing)
Please don't send me email.
If you must, then use the address as given, there is no spam-block.
Please think before you post, and read the FAQ before you think
about posting.

 Fri, 17 May 2002 03:00:00 GMT   
 Determining disk space usage

of course we do as it spoils our fun, I can solve that problem in X
lines of shell code.... <grin>


 Fri, 17 May 2002 03:00:00 GMT   
   [ 5 post ] 

Similar Threads

1. Determining Disk Space Usage

2. Determining Disk Space Usage

3. How to determine disk usage thru program

4. Command to determine disk space & memory

5. Determine remaining disk space

6. programatically determining the free space on a volume (disk)

7. Determining free disk space within program

8. Determine disk free space in C program

9. Checking disk space usage

10. Disk space usage!!!!

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software