[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
1. A less disk intensive way to find out where the users'
data is divided up is to use the 'du' command from
within the users home directory.
- Log in as admin
- Change to users directory (cd ~joe)
- Type in: 'du -k' to get a list of disk by directory
2. Of course this is only in the users home directory, he
may have files elsewhere such as temporary directories
or in the mail spool.
A more disk intensive manor is to use 'find'. This will
be more tiring on your system, and will effect performance
drastically while running.
- Log in as admin
- Change directories to / (cd /)
- Type in: 'find ./ -user joe -print | xargs du -k > ~/joe.usage'
Pretty huh? There might be a better way, but this works. :)
In admin's home directory there will be a file joe.usage
shows the output of du for each file. Not very friendly
format, but it works
> - How does Disk Usage utility make the distinction between
> files for the site-admin and files for Joe?
Joe is the site-admin, they are the same user. Most of the
other files in the site directory are owned by the user httpd,
and not included in the user's quota.
Hope this helps.
Jeff
--
Jeff Lovell
Software Engineer
Cobalt Networks, Inc.